Diff of the two buildlogs: -- --- b1/build.log 2023-04-10 09:37:04.483655385 +0000 +++ b2/build.log 2023-04-10 09:38:22.609053103 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Apr 9 21:36:15 -12 2023 -I: pbuilder-time-stamp: 1681119375 +I: Current time: Mon May 13 06:00:08 +14 2024 +I: pbuilder-time-stamp: 1715529608 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./libmpeg3_1.8.dfsg.orig.tar.bz2] I: copying [./libmpeg3_1.8.dfsg-3.debian.tar.xz] I: Extracting source -gpgv: Signature made Tue Aug 24 21:42:17 2021 -12 +gpgv: Signature made Wed Aug 25 23:42:17 2021 +14 gpgv: using RSA key 7405E745574809734800156DB65019C47F7A36F8 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./libmpeg3_1.8.dfsg-3.dsc: no acceptable signature found @@ -37,11 +37,20 @@ dpkg-source: info: applying header-comment-fix.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/23299/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/26131/tmp/hooks/D01_modify_environment starting +debug: Running on codethink9-arm64. +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 +lrwxrwxrwx 1 root root 4 Jan 6 2023 /bin/sh -> dash +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/26131/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/26131/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME='pbuilder2' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' @@ -51,38 +60,38 @@ IFS=' ' LANG='C' - LANGUAGE='en_US:en' + LANGUAGE='nl_BE:nl' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' + 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' - PPID='23299' + PPID='26131' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.OT9nhcgh/pbuilderrc_ZaNZ --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.OT9nhcgh/b1 --logfile b1/build.log libmpeg3_1.8.dfsg-3.dsc' + 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.OT9nhcgh/pbuilderrc_POzW --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.OT9nhcgh/b2 --logfile b2/build.log --extrapackages usrmerge libmpeg3_1.8.dfsg-3.dsc' SUDO_GID='117' SUDO_UID='110' SUDO_USER='jenkins' TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' + TZ='/usr/share/zoneinfo/Etc/GMT-14' USER='root' USERNAME='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.16:3128' I: uname -a - Linux codethink14-arm64 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 6 22:26 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/23299/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 12 06:48 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/26131/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -152,7 +161,7 @@ Get: 30 http://deb.debian.org/debian bookworm/main arm64 debhelper all 13.11.4 [942 kB] Get: 31 http://deb.debian.org/debian bookworm/main arm64 liba52-0.7.4 arm64 0.7.4-20 [28.6 kB] Get: 32 http://deb.debian.org/debian bookworm/main arm64 liba52-0.7.4-dev arm64 0.7.4-20 [46.4 kB] -Fetched 18.4 MB in 1s (36.8 MB/s) +Fetched 18.4 MB in 0s (40.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19616 files and directories currently installed.) @@ -294,8 +303,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/libmpeg3-1.8.dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../libmpeg3_1.8.dfsg-3_source.changes +I: user script /srv/workspace/pbuilder/26131/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/26131/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/libmpeg3-1.8.dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../libmpeg3_1.8.dfsg-3_source.changes dpkg-buildpackage: info: source package libmpeg3 dpkg-buildpackage: info: source version 1.8.dfsg-3 dpkg-buildpackage: info: source distribution unstable @@ -326,16 +344,7 @@ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/mpeg3audio.c -o aarch64/audio/mpeg3audio.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/pcm.c -o aarch64/audio/pcm.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/synthesizers.c -o aarch64/audio/synthesizers.o -audio/synthesizers.c: In function 'mpeg3audio_synth_stereo': -audio/synthesizers.c:36:9: warning: implicit declaration of function 'mpeg3audio_dct64'; did you mean 'mpeg3audio_dopcm'? [-Wimplicit-function-declaration] - 36 | mpeg3audio_dct64(buf[1] + ((audio->bo + 1) & 0xf), buf[0] + audio->bo, bandPtr); - | ^~~~~~~~~~~~~~~~ - | mpeg3audio_dopcm cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/tables.c -o aarch64/audio/tables.o -audio/pcm.c: In function 'mpeg3audio_dopcm': -audio/pcm.c:71:64: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] - 71 | unsigned char *input = frame + - | ^~~~~ 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, @@ -349,6 +358,10 @@ audio/ac3.c:107:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 107 | int frame_size, | ~~~~^~~~~~~~~~ +audio/layer2.c: In function 'step_two': +audio/layer2.c:283:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 283 | if(ba = *bita++) + | ^~ audio/layer3.c: In function 'get_scale_factors_1': audio/layer3.c:53:21: warning: unused parameter 'ch' [-Wunused-parameter] 53 | int ch, @@ -356,6 +369,22 @@ audio/layer3.c:54:21: warning: unused parameter 'gr' [-Wunused-parameter] 54 | int gr) | ~~~~^~ +audio/layer2.c:369:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] + 369 | for(i = sblimit; i < SBLIMIT; i++) + | ^~~ +audio/layer2.c:373:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' + 373 | return result; + | ^~~~~~ +audio/layer2.c:276:19: warning: unused variable 'test' [-Wunused-variable] + 276 | int d1, step, test; + | ^~~~ +audio/layer2.c: In function 'mpeg3audio_dolayer2': +audio/layer2.c:393:42: warning: pointer targets in passing argument 2 of 'mpeg3bits_use_ptr' differ in signedness [-Wpointer-sign] + 393 | mpeg3bits_use_ptr(audio->stream, frame); + | ^~~~~ + | | + | char * +audio/synthesizers.c: In function 'mpeg3audio_synth_stereo': audio/layer3.c: In function 'dequantize_sample': audio/layer3.c:226:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 226 | while(num < BITSHIFT) \ @@ -381,6 +410,17 @@ audio/layer3.c:413:17: note: in expansion of macro 'REFRESH_MASK' 413 | REFRESH_MASK; | ^~~~~~~~~~~~ +In file included from audio/layer2.c:8: +./mpeg3protos.h:482:60: note: expected 'unsigned char *' but argument is of type 'char *' + 482 | int mpeg3bits_use_ptr(mpeg3_bits_t* stream, unsigned char *buffer); + | ~~~~~~~~~~~~~~~^~~~~~ +audio/synthesizers.c:36:9: warning: implicit declaration of function 'mpeg3audio_dct64'; did you mean 'mpeg3audio_dopcm'? [-Wimplicit-function-declaration] + 36 | mpeg3audio_dct64(buf[1] + ((audio->bo + 1) & 0xf), buf[0] + audio->bo, bandPtr); + | ^~~~~~~~~~~~~~~~ + | mpeg3audio_dopcm +audio/layer2.c:378:13: warning: unused parameter 'frame_size' [-Wunused-parameter] + 378 | int frame_size, + | ~~~~^~~~~~~~~~ audio/layer3.c:226:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 226 | while(num < BITSHIFT) \ | ^ @@ -405,6 +445,10 @@ audio/layer3.c:618:17: note: in expansion of macro 'REFRESH_MASK' 618 | 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: In function 'hybrid': audio/layer3.c:829:9: warning: implicit declaration of function 'mpeg3audio_dct36'; did you mean 'mpeg3audio_dopcm'? [-Wimplicit-function-declaration] 829 | mpeg3audio_dct36(fsIn[0], rawout1, rawout2, mpeg3_win[0], tspnt); @@ -455,35 +499,6 @@ audio/layer3.c:1513:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1513 | if(layer_data->samplerate != 0 && | ^~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT libmpeg3.c -o aarch64/libmpeg3.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++) - | ^~ -audio/layer2.c:369:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] - 369 | for(i = sblimit; i < SBLIMIT; i++) - | ^~~ -audio/layer2.c:373:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' - 373 | return result; - | ^~~~~~ -audio/layer2.c:276:19: warning: unused variable 'test' [-Wunused-variable] - 276 | int d1, step, test; - | ^~~~ -audio/layer2.c: In function 'mpeg3audio_dolayer2': -audio/layer2.c:393:42: warning: pointer targets in passing argument 2 of 'mpeg3bits_use_ptr' differ in signedness [-Wpointer-sign] - 393 | mpeg3bits_use_ptr(audio->stream, frame); - | ^~~~~ - | | - | char * -In file included from audio/layer2.c:8: -./mpeg3protos.h:482:60: note: expected 'unsigned char *' but argument is of type 'char *' - 482 | int mpeg3bits_use_ptr(mpeg3_bits_t* stream, unsigned char *buffer); - | ~~~~~~~~~~~~~~~^~~~~~ -audio/layer2.c:378:13: warning: unused parameter 'frame_size' [-Wunused-parameter] - 378 | int frame_size, - | ~~~~^~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3atrack.c -o aarch64/mpeg3atrack.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3bits.c -o aarch64/mpeg3bits.o audio/mpeg3audio.c: In function 'read_frame': audio/mpeg3audio.c:362:46: warning: pointer targets in passing argument 2 of 'mpeg3audio_doac3' differ in signedness [-Wpointer-sign] 362 | audio->packet_buffer, @@ -549,6 +564,9 @@ audio/tables.c:138:39: warning: unused parameter 'audio' [-Wunused-parameter] 138 | static int init_layer2(mpeg3_layer_t *audio) | ~~~~~~~~~~~~~~~^~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT libmpeg3.c -o aarch64/libmpeg3.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3atrack.c -o aarch64/mpeg3atrack.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3bits.c -o aarch64/mpeg3bits.o libmpeg3.c: In function 'mpeg3_new': libmpeg3.c:32:13: warning: unused variable 'i' [-Wunused-variable] 32 | int i; @@ -579,10 +597,6 @@ libmpeg3.c:412:16: warning: unused variable 'done' [-Wunused-variable] 412 | int i, done; | ^~~~ -mpeg3bits.c: In function 'mpeg3bits_read_buffer': -mpeg3bits.c:28:21: warning: unused variable 'i' [-Wunused-variable] - 28 | int result, i = 0; - | ^ libmpeg3.c: In function 'mpeg3_set_cpus': libmpeg3.c:572:17: warning: implicit declaration of function 'mpeg3video_set_cpus'; did you mean 'mpeg3video_next_code'? [-Wimplicit-function-declaration] 572 | mpeg3video_set_cpus(file->vtrack[i]->video, cpus); @@ -603,15 +617,6 @@ 727 | mpeg3video_seek_byte(file->vtrack[i]->video, byte); | ^~~~~~~~~~~~~~~~~~~~ | mpeg3bits_seek_byte -libmpeg3.c:733:17: warning: implicit declaration of function 'mpeg3audio_seek_byte'; did you mean 'mpeg3bits_seek_byte'? [-Wimplicit-function-declaration] - 733 | mpeg3audio_seek_byte(file->atrack[i]->audio, byte); - | ^~~~~~~~~~~~~~~~~~~~ - | mpeg3bits_seek_byte -libmpeg3.c: In function 'mpeg3_previous_frame': -libmpeg3.c:757:24: warning: implicit declaration of function 'mpeg3video_previous_frame'; did you mean 'mpeg3_previous_frame'? [-Wimplicit-function-declaration] - 757 | return mpeg3video_previous_frame(file->vtrack[stream]->video); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | mpeg3_previous_frame mpeg3atrack.c: In function 'mpeg3_new_atrack': mpeg3atrack.c:22:17: warning: implicit declaration of function 'mpeg3demux_copy_titles'; did you mean 'mpeg3demux_open_title'? [-Wimplicit-function-declaration] 22 | mpeg3demux_copy_titles(new_atrack->demuxer, demuxer); @@ -621,6 +626,15 @@ mpeg3atrack.c:51:34: warning: unused parameter 'file' [-Wunused-parameter] 51 | int mpeg3_delete_atrack(mpeg3_t *file, mpeg3_atrack_t *atrack) | ~~~~~~~~~^~~~ +libmpeg3.c:733:17: warning: implicit declaration of function 'mpeg3audio_seek_byte'; did you mean 'mpeg3bits_seek_byte'? [-Wimplicit-function-declaration] + 733 | mpeg3audio_seek_byte(file->atrack[i]->audio, byte); + | ^~~~~~~~~~~~~~~~~~~~ + | mpeg3bits_seek_byte +libmpeg3.c: In function 'mpeg3_previous_frame': +libmpeg3.c:757:24: warning: implicit declaration of function 'mpeg3video_previous_frame'; did you mean 'mpeg3_previous_frame'? [-Wimplicit-function-declaration] + 757 | return mpeg3video_previous_frame(file->vtrack[stream]->video); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + | mpeg3_previous_frame libmpeg3.c: In function 'mpeg3_colormodel': libmpeg3.c:858:24: warning: implicit declaration of function 'mpeg3video_colormodel'; did you mean 'mpeg3_colormodel'? [-Wimplicit-function-declaration] 858 | return mpeg3video_colormodel(file->vtrack[stream]->video); @@ -630,9 +644,11 @@ libmpeg3.c:275:1: warning: control reaches end of non-void function [-Wreturn-type] 275 | } | ^ +mpeg3bits.c: In function 'mpeg3bits_read_buffer': +mpeg3bits.c:28:21: warning: unused variable 'i' [-Wunused-variable] + 28 | int result, i = 0; + | ^ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3css_fake.c -o aarch64/mpeg3css_fake.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3demux.c -o aarch64/mpeg3demux.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3ifo.c -o aarch64/mpeg3ifo.o 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) @@ -654,6 +670,7 @@ mpeg3css_fake.c:21:71: warning: unused parameter 'offset' [-Wunused-parameter] 21 | int mpeg3_decrypt_packet(mpeg3_css_t *css, unsigned char *sector, int offset) | ~~~~^~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3demux.c -o aarch64/mpeg3demux.o audio/layer3.c: In function 'dequantize_sample': audio/layer3.c:679:23: warning: array subscript 576 is outside array bounds of 'float[576]' [-Warray-bounds] 679 | while(xrpnt < &xr[SBLIMIT][0]) @@ -661,7 +678,7 @@ audio/layer3.c:235:23: note: at offset 2304 into object 'xr' of size [0, 2304] 235 | float xr[SBLIMIT][SSLIMIT], | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3io.c -o aarch64/mpeg3io.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3ifo.c -o aarch64/mpeg3ifo.o mpeg3demux.c: In function 'get_transport_pes_packet': mpeg3demux.c:302:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 302 | if((demuxer->custom_id == demuxer->astream && @@ -735,28 +752,12 @@ mpeg3private.h:393:24: note: 'titles' declared here 393 | mpeg3_title_t *titles[MPEG3_MAX_STREAMS]; | ^~~~~~ -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); - | ^~~~~~~ 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 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3strack.c -o aarch64/mpeg3strack.o mpeg3demux.c:1716:13: warning: unused variable 'last_cell' [-Wunused-variable] 1716 | int last_cell = demuxer->title_cell; | ^~~~~~~~~ @@ -772,6 +773,47 @@ mpeg3demux.c:1922:21: warning: unused variable 'fd' [-Wunused-variable] 1922 | mpeg3_fs_t *fd = title->fs; | ^~ +mpeg3demux.c: In function 'mpeg3demux_copy_titles': +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3io.c -o aarch64/mpeg3io.o +mpeg3demux.c:2198:17: warning: implicit declaration of function 'mpeg3_copy_title'; did you mean 'mpeg3_new_title'? [-Wimplicit-function-declaration] + 2198 | mpeg3_copy_title(dst_title, src_title); + | ^~~~~~~~~~~~~~~~ + | mpeg3_new_title +mpeg3demux.c: In function 'mpeg3_new_demuxer': +mpeg3demux.c:2213:13: warning: unused variable 'i' [-Wunused-variable] + 2213 | int i; + | ^ +mpeg3demux.c: In function 'mpeg3_absolute_to_program': +mpeg3demux.c:2461:16: warning: unused variable 'j' [-Wunused-variable] + 2461 | int i, j; + | ^ +mpeg3demux.c:2461:13: warning: unused variable 'i' [-Wunused-variable] + 2461 | int i, j; + | ^ +mpeg3demux.c: In function 'mpeg3demux_scan_pts': +mpeg3demux.c:2414:1: warning: control reaches end of non-void function [-Wreturn-type] + 2414 | } + | ^ +mpeg3demux.c: In function 'mpeg3demux_goto_pts': +mpeg3demux.c:2442:1: warning: control reaches end of non-void function [-Wreturn-type] + 2442 | } + | ^ +mpeg3ifo.c: In function 'program_map': +mpeg3ifo.c:265:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 265 | *ptr = pgc; + | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3strack.c -o aarch64/mpeg3strack.o +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 | ; @@ -808,11 +850,6 @@ mpeg3ifo.c:625:39: warning: unused parameter 'cells' [-Wunused-parameter] 625 | mpeg3ifo_celltable_t *cells, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ -mpeg3demux.c: In function 'mpeg3demux_copy_titles': -mpeg3demux.c:2198:17: warning: implicit declaration of function 'mpeg3_copy_title'; did you mean 'mpeg3_new_title'? [-Wimplicit-function-declaration] - 2198 | mpeg3_copy_title(dst_title, src_title); - | ^~~~~~~~~~~~~~~~ - | mpeg3_new_title mpeg3ifo.c: In function 'mpeg3_read_ifo': mpeg3ifo.c:716:13: warning: unused variable 'result' [-Wunused-variable] 716 | int result; @@ -823,24 +860,14 @@ mpeg3ifo.c:708:17: warning: unused variable 'last_ifo_byte' [-Wunused-variable] 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; | ^~~~~~~~~~~~~ -mpeg3demux.c: In function 'mpeg3_new_demuxer': -mpeg3demux.c:2213:13: warning: unused variable 'i' [-Wunused-variable] - 2213 | int i; - | ^ mpeg3ifo.c:706:13: warning: unused parameter 'read_cells' [-Wunused-parameter] 706 | int read_cells) | ~~~~^~~~~~~~~~ -mpeg3demux.c: In function 'mpeg3_absolute_to_program': -mpeg3demux.c:2461:16: warning: unused variable 'j' [-Wunused-variable] - 2461 | int i, j; - | ^ -mpeg3demux.c:2461:13: warning: unused variable 'i' [-Wunused-variable] - 2461 | int i, j; - | ^ mpeg3io.c: In function 'mpeg3io_read_buffer': mpeg3io.c:177:21: warning: variable 'result' set but not used [-Wunused-but-set-variable] 177 | int result; | ^~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3title.c -o aarch64/mpeg3title.o 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -848,20 +875,10 @@ mpeg3io.c:211:17: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 211 | getcwd(current_dir, MPEG3_STRLEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mpeg3demux.c: In function 'mpeg3demux_scan_pts': -mpeg3demux.c:2414:1: warning: control reaches end of non-void function [-Wreturn-type] - 2414 | } - | ^ -mpeg3demux.c: In function 'mpeg3demux_goto_pts': -mpeg3demux.c:2442:1: warning: control reaches end of non-void function [-Wreturn-type] - 2442 | } - | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3title.c -o aarch64/mpeg3title.o mpeg3strack.c: In function 'mpeg3_get_strack': mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] 70 | int i; | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3tocutil.c -o aarch64/mpeg3tocutil.o mpeg3ifo.c: In function 'get_ifo_playlist.constprop': mpeg3ifo.c:359:9: warning: '__builtin_strncpy' output may be truncated copying 6 bytes from a string of length 1023 [-Wstringop-truncation] 359 | strncpy(vob_prefix, filename, 6); @@ -899,8 +916,8 @@ mpeg3title.c:185:18: warning: unused variable 'file' [-Wunused-variable] 185 | mpeg3_t *file = title->file; | ^~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3tocutil.c -o aarch64/mpeg3tocutil.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3vtrack.c -o aarch64/mpeg3vtrack.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/getpicture.c -o aarch64/video/getpicture.o mpeg3tocutil.c: In function 'read_data': mpeg3tocutil.c:112:1: warning: no return statement in function returning non-void [-Wreturn-type] 112 | } @@ -972,24 +989,26 @@ mpeg3tocutil.c:1193:33: warning: unused variable 'atrack' [-Wunused-variable] 1193 | mpeg3_atrack_t *atrack = file->atrack[i]; | ^~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/getpicture.c -o aarch64/video/getpicture.o mpeg3tocutil.c: In function 'mpeg3_update_index': mpeg3tocutil.c:738:1: warning: control reaches end of non-void function [-Wreturn-type] 738 | } | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/headers.c -o aarch64/video/headers.o mpeg3tocutil.c: In function 'mpeg3_do_toc': mpeg3tocutil.c:1159:1: warning: control reaches end of non-void function [-Wreturn-type] 1159 | } | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/headers.c -o aarch64/video/headers.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/idct.c -o aarch64/video/idct.o +mpeg3tocutil.c: At top level: +mpeg3tocutil.c:10:14: warning: 'test_file' defined but not used [-Wunused-variable] + 10 | static FILE *test_file = 0; + | ^~~~~~~~~ mpeg3vtrack.c: In function 'mpeg3_new_vtrack': mpeg3vtrack.c:19:17: warning: implicit declaration of function 'mpeg3demux_copy_titles'; did you mean 'mpeg3demux_open_title'? [-Wimplicit-function-declaration] 19 | mpeg3demux_copy_titles(new_vtrack->demuxer, demuxer); | ^~~~~~~~~~~~~~~~~~~~~~ | mpeg3demux_open_title -mpeg3tocutil.c: At top level: -mpeg3tocutil.c:10:14: warning: 'test_file' defined but not used [-Wunused-variable] - 10 | static FILE *test_file = 0; - | ^~~~~~~~~ mpeg3vtrack.c:11:13: warning: unused variable 'result' [-Wunused-variable] 11 | int result = 0; | ^~~~~~ @@ -1001,12 +1020,12 @@ mpeg3vtrack.c:70:12: warning: 'last_keyframe' defined but not used [-Wunused-variable] 70 | static int last_keyframe = 0; | ^~~~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/idct.c -o aarch64/video/idct.o video/getpicture.c: In function 'mpeg3video_get_macroblocks': video/getpicture.c:534:25: warning: implicit declaration of function 'mpeg3_new_slice_buffer'; did you mean 'mpeg3io_sync_buffer'? [-Wimplicit-function-declaration] 534 | mpeg3_new_slice_buffer(&(video->slice_buffers[video->slice_buffers_initialized++])); | ^~~~~~~~~~~~~~~~~~~~~~ | mpeg3io_sync_buffer +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/macroblocks.c -o aarch64/video/macroblocks.o video/getpicture.c:546:33: warning: implicit declaration of function 'mpeg3_expand_slice_buffer' [-Wimplicit-function-declaration] 546 | mpeg3_expand_slice_buffer(slice_buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1016,21 +1035,12 @@ video/getpicture.c:515:57: warning: unused parameter 'framenum' [-Wunused-parameter] 515 | int mpeg3video_get_macroblocks(mpeg3video_t *video, int framenum) | ~~~~^~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mmxtest.c -o aarch64/video/mmxtest.o video/getpicture.c: In function 'mpeg3video_allocate_decoders': video/getpicture.c:625:25: warning: implicit declaration of function 'mpeg3_delete_slice_decoder'; did you mean 'mpeg3_delete_demuxer'? [-Wimplicit-function-declaration] 625 | mpeg3_delete_slice_decoder(&(video->slice_decoders[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | mpeg3_delete_demuxer -video/getpicture.c:630:25: warning: implicit declaration of function 'mpeg3_new_slice_decoder' [-Wimplicit-function-declaration] - 630 | mpeg3_new_slice_decoder(video, &(video->slice_decoders[i])); - | ^~~~~~~~~~~~~~~~~~~~~~~ -video/getpicture.c:616:59: warning: unused parameter 'decoder_count' [-Wunused-parameter] - 616 | int mpeg3video_allocate_decoders(mpeg3video_t *video, int decoder_count) - | ~~~~^~~~~~~~~~~~~ -video/getpicture.c: In function 'mpeg3video_getpicture': -video/getpicture.c:721:25: warning: implicit declaration of function 'mpeg3video_display_second_field' [-Wimplicit-function-declaration] - 721 | mpeg3video_display_second_field(video); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; @@ -1047,6 +1057,9 @@ video/headers.c:13:18: warning: unused variable 'file' [-Wunused-variable] 13 | mpeg3_t *file = video->file; | ^~~~ +video/getpicture.c:630:25: warning: implicit declaration of function 'mpeg3_new_slice_decoder' [-Wimplicit-function-declaration] + 630 | mpeg3_new_slice_decoder(video, &(video->slice_decoders[i])); + | ^~~~~~~~~~~~~~~~~~~~~~~ video/headers.c: In function 'mpeg3video_sequence_extension': video/headers.c:74:13: warning: unused variable 'pos' [-Wunused-variable] 74 | int pos = 0; @@ -1069,6 +1082,9 @@ video/headers.c:70:13: warning: variable 'prof_lev' set but not used [-Wunused-but-set-variable] 70 | int prof_lev; | ^~~~~~~~ +video/getpicture.c:616:59: warning: unused parameter 'decoder_count' [-Wunused-parameter] + 616 | int mpeg3video_allocate_decoders(mpeg3video_t *video, int decoder_count) + | ~~~~^~~~~~~~~~~~~ video/headers.c: In function 'mpeg3video_sequence_display_extension': video/headers.c:102:13: warning: unused variable 'video_format' [-Wunused-variable] 102 | int video_format = mpeg3bits_getbits(video->vstream, 3); @@ -1107,6 +1123,10 @@ video/headers.c:224:63: warning: variable 'sub_carrier_phase' set but not used [-Wunused-but-set-variable] 224 | int v_axis = 0, sub_carrier = 0, burst_amplitude = 0, sub_carrier_phase = 0; | ^~~~~~~~~~~~~~~~~ +video/getpicture.c: In function 'mpeg3video_getpicture': +video/getpicture.c:721:25: warning: implicit declaration of function 'mpeg3video_display_second_field' [-Wimplicit-function-declaration] + 721 | mpeg3video_display_second_field(video); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:224:42: warning: variable 'burst_amplitude' set but not used [-Wunused-but-set-variable] 224 | int v_axis = 0, sub_carrier = 0, burst_amplitude = 0, sub_carrier_phase = 0; | ^~~~~~~~~~~~~~~ @@ -1151,8 +1171,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 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/macroblocks.c -o aarch64/video/macroblocks.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mmxtest.c -o aarch64/video/mmxtest.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/motion.c -o aarch64/video/motion.o video/mmxtest.c: In function 'mpeg3_mmx_test': video/mmxtest.c:11:14: warning: unused variable 'string' [-Wunused-variable] @@ -1173,29 +1191,7 @@ video/motion.c:178:13: warning: unused variable 'result' [-Wunused-variable] 178 | int result = 0; | ^~~~~~ -video/getpicture.c: In function 'mpeg3video_getinterblock': -video/getpicture.c:293:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] - 293 | if(j != 0) - | ^ -video/getpicture.c:219:21: note: 'j' was declared here - 219 | int val, i, j, sign; - | ^ -video/getpicture.c: In function 'mpeg3video_getmpg2intrablock': -video/getpicture.c:411:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] - 411 | if(j != 0) - | ^ -video/getpicture.c:308:21: note: 'j' was declared here - 308 | int val, i, j, sign, nc; - | ^ -video/getpicture.c: In function 'mpeg3video_getmpg2interblock': -video/getpicture.c:506:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] - 506 | if(j != 0) - | ^ -video/getpicture.c:426:21: note: 'j' was declared here - 426 | int val, i, j, sign, nc; - | ^ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mpeg3video.c -o aarch64/video/mpeg3video.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/output.c -o aarch64/video/output.o video/mpeg3video.c: In function 'mpeg3video_deletedecoder': video/mpeg3video.c:178:16: warning: unused variable 'padding' [-Wunused-variable] 178 | int i, padding; @@ -1281,7 +1277,19 @@ video/mpeg3video.c:716:21: warning: variable 'size0' set but not used [-Wunused-but-set-variable] 716 | int size0, size1; | ^~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/output.c -o aarch64/video/output.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/reconstruct.c -o aarch64/video/reconstruct.o +video/getpicture.c: In function 'mpeg3video_getinterblock': +video/getpicture.c:293:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] + 293 | if(j != 0) + | ^ +video/getpicture.c:219:21: note: 'j' was declared here + 219 | int val, i, j, sign; + | ^ +video/reconstruct.c: In function 'recon_comp': +video/reconstruct.c:417:31: warning: unused parameter 'video' [-Wunused-parameter] + 417 | void recon_comp(mpeg3video_t *video, + | ~~~~~~~~~~~~~~^~~~~ video/output.c: In function 'mpeg3video_ditherframe': video/output.c:141:27: warning: unused variable 'step' [-Wunused-variable] 141 | int uv_subscript, step, w = -1; @@ -1307,6 +1315,14 @@ video/output.c:296:62: warning: unused parameter 'src' [-Wunused-parameter] 296 | int mpeg3video_ditherbot(mpeg3video_t *video, unsigned char *src[]) | ~~~~~~~~~~~~~~~^~~~~ +video/reconstruct.c: In function 'mpeg3video_reconstruct': +video/reconstruct.c:583:25: warning: implicit declaration of function 'mpeg3video_calc_dmv'; did you mean 'mpeg3video_dump'? [-Wimplicit-function-declaration] + 583 | mpeg3video_calc_dmv(video, + | ^~~~~~~~~~~~~~~~~~~ + | mpeg3video_dump +video/reconstruct.c:618:33: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] + 618 | ; + | ^ video/output.c: In function 'mpeg3video_ditherbot444': video/output.c:301:43: warning: unused parameter 'video' [-Wunused-parameter] 301 | int mpeg3video_ditherbot444(mpeg3video_t *video, unsigned char *src[]) @@ -1321,6 +1337,12 @@ video/output.c:308:13: warning: unused variable 'i' [-Wunused-variable] 308 | int i, len2; | ^ +video/reconstruct.c:690:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] + 690 | ; + | ^ +video/reconstruct.c:756:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] + 756 | ; + | ^ video/output.c: In function 'mpeg3video_present_frame': video/output.c:348:22: warning: unused variable 'l' [-Wunused-variable] 348 | int i, j, k, l; @@ -1335,26 +1357,65 @@ 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_getmpg2intrablock': +video/getpicture.c:411:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] + 411 | if(j != 0) + | ^ +video/getpicture.c:308:21: note: 'j' was declared here + 308 | int val, i, j, sign, nc; + | ^ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/seek.c -o aarch64/video/seek.o +video/getpicture.c: In function 'mpeg3video_getmpg2interblock': +video/getpicture.c:506:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] + 506 | if(j != 0) + | ^ +video/getpicture.c:426:21: note: 'j' was declared here + 426 | int val, i, j, sign, nc; + | ^ +video/seek.c: In function 'mpeg3video_match_refframes': +video/seek.c:143:16: warning: unused variable 'j' [-Wunused-variable] + 143 | int i, j, size; + | ^ +video/seek.c: In function 'mpeg3video_seek_byte': +video/seek.c:175:26: warning: unused variable 'demuxer' [-Wunused-variable] + 175 | mpeg3_demuxer_t *demuxer = vstream->demuxer; + | ^~~~~~~ +video/seek.c:173:18: warning: unused variable 'file' [-Wunused-variable] + 173 | mpeg3_t *file = video->file; + | ^~~~ +video/seek.c: In function 'mpeg3video_seek': +video/seek.c:356:57: warning: implicit declaration of function 'mpeg3video_get_firstframe'; did you mean 'mpeg3video_seek_frame'? [-Wimplicit-function-declaration] + 356 | mpeg3video_get_firstframe(video); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + | mpeg3video_seek_frame +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': +video/seek.c:218:13: warning: unused variable 'match_refframes' [-Wunused-variable] + 218 | int match_refframes = 1; + | ^~~~~~~~~~~~~~~ +video/seek.c:211:13: warning: unused variable 'attempts' [-Wunused-variable] + 211 | int attempts; + | ^~~~~~~~ +video/seek.c:210:13: warning: unused variable 'back_step' [-Wunused-variable] + 210 | int back_step; + | ^~~~~~~~~ +video/seek.c:208:14: warning: unused variable 'this_gop_start' [-Wunused-variable] + 208 | long this_gop_start; + | ^~~~~~~~~~~~~~ +mpeg3demux.c:1091:13: note: 'decryption_offset' was declared here + 1091 | int decryption_offset; + | ^~~~~~~~~~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/slice.c -o aarch64/video/slice.o -video/reconstruct.c: In function 'recon_comp': -video/reconstruct.c:417:31: warning: unused parameter 'video' [-Wunused-parameter] - 417 | void recon_comp(mpeg3video_t *video, - | ~~~~~~~~~~~~~~^~~~~ -video/reconstruct.c: In function 'mpeg3video_reconstruct': -video/reconstruct.c:583:25: warning: implicit declaration of function 'mpeg3video_calc_dmv'; did you mean 'mpeg3video_dump'? [-Wimplicit-function-declaration] - 583 | mpeg3video_calc_dmv(video, - | ^~~~~~~~~~~~~~~~~~~ - | mpeg3video_dump -video/reconstruct.c:618:33: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] - 618 | ; - | ^ -video/reconstruct.c:690:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] - 690 | ; - | ^ -video/reconstruct.c:756:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] - 756 | ; - | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/subtitle.c -o aarch64/video/subtitle.o video/slice.c: In function 'mpeg3video_addblock': video/slice.c:62:13: warning: unused variable 'spar' [-Wunused-variable] 62 | int spar = slice->sparse[comp]; @@ -1392,51 +1453,7 @@ 453 | mpeg3video_reconstruct(video, | ^~~~~~~~~~~~~~~~~~~~~~ | mpeg3video_read_raw -video/seek.c: In function 'mpeg3video_match_refframes': -video/seek.c:143:16: warning: unused variable 'j' [-Wunused-variable] - 143 | int i, j, size; - | ^ -video/seek.c: In function 'mpeg3video_seek_byte': -video/seek.c:175:26: warning: unused variable 'demuxer' [-Wunused-variable] - 175 | mpeg3_demuxer_t *demuxer = vstream->demuxer; - | ^~~~~~~ -video/seek.c:173:18: warning: unused variable 'file' [-Wunused-variable] - 173 | mpeg3_t *file = video->file; - | ^~~~ -video/seek.c: In function 'mpeg3video_seek': -video/seek.c:356:57: warning: implicit declaration of function 'mpeg3video_get_firstframe'; did you mean 'mpeg3video_seek_frame'? [-Wimplicit-function-declaration] - 356 | mpeg3video_get_firstframe(video); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | mpeg3video_seek_frame -video/seek.c:218:13: warning: unused variable 'match_refframes' [-Wunused-variable] - 218 | int match_refframes = 1; - | ^~~~~~~~~~~~~~~ -video/seek.c:211:13: warning: unused variable 'attempts' [-Wunused-variable] - 211 | int attempts; - | ^~~~~~~~ -video/seek.c:210:13: warning: unused variable 'back_step' [-Wunused-variable] - 210 | int back_step; - | ^~~~~~~~~ -video/seek.c:208:14: warning: unused variable 'this_gop_start' [-Wunused-variable] - 208 | long this_gop_start; - | ^~~~~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/subtitle.c -o aarch64/video/subtitle.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/vlc.c -o aarch64/video/vlc.o -In function 'handle_scrambling', - inlined from 'get_program_pes_packet' at mpeg3demux.c:1426:17, - inlined from 'mpeg3demux_read_program' at mpeg3demux.c:1537:13: -mpeg3demux.c:777:20: warning: 'decryption_offset' may be used uninitialized [-Wmaybe-uninitialized] - 777 | if(mpeg3_decrypt_packet(title->fs->css, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 778 | buffer_ptr, - | ~~~~~~~~~~~ - 779 | decryption_offset)) - | ~~~~~~~~~~~~~~~~~~ -mpeg3demux.c: In function 'mpeg3demux_read_program': -mpeg3demux.c:1091:13: note: 'decryption_offset' was declared here - 1091 | int decryption_offset; - | ^~~~~~~~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT workarounds.c -o aarch64/workarounds.o video/subtitle.c: In function 'decompress_subtitle': video/subtitle.c:371:56: warning: unused variable 't' [-Wunused-variable] 371 | float f, p, q, t; @@ -1466,9 +1483,9 @@ video/subtitle.c:540:25: warning: unused variable 'vtrack' [-Wunused-variable] 540 | mpeg3_vtrack_t *vtrack = (mpeg3_vtrack_t*)video->track; | ^~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT workarounds.c -o aarch64/workarounds.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/ac3.c -o aarch64/audio/ac3.lo cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/dct.c -o aarch64/audio/dct.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/huffman.c -o aarch64/audio/huffman.lo audio/ac3.c: In function 'mpeg3audio_doac3': audio/ac3.c:117:17: warning: pointer targets in passing argument 2 of 'a52_frame' differ in signedness [-Wpointer-sign] 117 | frame, @@ -1482,9 +1499,9 @@ audio/ac3.c:107:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 107 | int frame_size, | ~~~~^~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/huffman.c -o aarch64/audio/huffman.lo cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/layer2.c -o aarch64/audio/layer2.lo cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/layer3.c -o aarch64/audio/layer3.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/mpeg3audio.c -o aarch64/audio/mpeg3audio.lo 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++) @@ -1511,7 +1528,6 @@ audio/layer2.c:378:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 378 | int frame_size, | ~~~~^~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/pcm.c -o aarch64/audio/pcm.lo audio/layer3.c: In function 'get_scale_factors_1': audio/layer3.c:53:21: warning: unused parameter 'ch' [-Wunused-parameter] 53 | int ch, @@ -1595,6 +1611,7 @@ audio/layer3.c:1237:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1237 | if(sideinfo.ch[1].gr[gr].maxb > maxb) | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/mpeg3audio.c -o aarch64/audio/mpeg3audio.lo audio/layer3.c:1266:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1266 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++, in0++) | ^ @@ -1618,6 +1635,18 @@ audio/layer3.c:1513:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1513 | if(layer_data->samplerate != 0 && | ^~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/pcm.c -o aarch64/audio/pcm.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/synthesizers.c -o aarch64/audio/synthesizers.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/tables.c -o aarch64/audio/tables.lo +audio/synthesizers.c: In function 'mpeg3audio_synth_stereo': +audio/synthesizers.c:36:9: warning: implicit declaration of function 'mpeg3audio_dct64'; did you mean 'mpeg3audio_dopcm'? [-Wimplicit-function-declaration] + 36 | mpeg3audio_dct64(buf[1] + ((audio->bo + 1) & 0xf), buf[0] + audio->bo, bandPtr); + | ^~~~~~~~~~~~~~~~ + | mpeg3audio_dopcm +audio/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/mpeg3audio.c: In function 'read_frame': audio/mpeg3audio.c:362:46: warning: pointer targets in passing argument 2 of 'mpeg3audio_doac3' differ in signedness [-Wpointer-sign] 362 | audio->packet_buffer, @@ -1679,30 +1708,12 @@ audio/mpeg3audio.c:915:19: warning: unused variable 'k' [-Wunused-variable] 915 | int i, j, k; | ^ -audio/pcm.c: In function 'mpeg3audio_dopcm': -audio/pcm.c:71:64: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] - 71 | unsigned char *input = frame + - | ^~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/synthesizers.c -o aarch64/audio/synthesizers.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/tables.c -o aarch64/audio/tables.lo cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT libmpeg3.c -o aarch64/libmpeg3.lo -audio/synthesizers.c: In function 'mpeg3audio_synth_stereo': -audio/synthesizers.c:36:9: warning: implicit declaration of function 'mpeg3audio_dct64'; did you mean 'mpeg3audio_dopcm'? [-Wimplicit-function-declaration] - 36 | mpeg3audio_dct64(buf[1] + ((audio->bo + 1) & 0xf), buf[0] + audio->bo, bandPtr); - | ^~~~~~~~~~~~~~~~ - | mpeg3audio_dopcm audio/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 'dequantize_sample': -audio/layer3.c:679:23: warning: array subscript 576 is outside array bounds of 'float[576]' [-Warray-bounds] - 679 | while(xrpnt < &xr[SBLIMIT][0]) - | ^~~~~~~~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3atrack.c -o aarch64/mpeg3atrack.lo -audio/layer3.c:235:23: note: at offset 2304 into object 'xr' of size [0, 2304] - 235 | float xr[SBLIMIT][SSLIMIT], - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ libmpeg3.c: In function 'mpeg3_new': libmpeg3.c:32:13: warning: unused variable 'i' [-Wunused-variable] 32 | int i; @@ -1743,12 +1754,12 @@ 618 | mpeg3audio_seek_sample(file->atrack[stream]->audio, sample); | ^~~~~~~~~~~~~~~~~~~~~~ | mpeg3_set_sample -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3bits.c -o aarch64/mpeg3bits.lo libmpeg3.c: In function 'mpeg3_set_frame': libmpeg3.c:713:17: warning: implicit declaration of function 'mpeg3video_seek_frame'; did you mean 'mpeg3video_read_frame'? [-Wimplicit-function-declaration] 713 | mpeg3video_seek_frame(file->vtrack[stream]->video, frame); | ^~~~~~~~~~~~~~~~~~~~~ | mpeg3video_read_frame +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3bits.c -o aarch64/mpeg3bits.lo libmpeg3.c: In function 'mpeg3_seek_byte': libmpeg3.c:727:17: warning: implicit declaration of function 'mpeg3video_seek_byte'; did you mean 'mpeg3bits_seek_byte'? [-Wimplicit-function-declaration] 727 | mpeg3video_seek_byte(file->vtrack[i]->video, byte); @@ -1763,6 +1774,15 @@ 757 | return mpeg3video_previous_frame(file->vtrack[stream]->video); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | mpeg3_previous_frame +mpeg3atrack.c: In function 'mpeg3_new_atrack': +mpeg3atrack.c:22:17: warning: implicit declaration of function 'mpeg3demux_copy_titles'; did you mean 'mpeg3demux_open_title'? [-Wimplicit-function-declaration] + 22 | mpeg3demux_copy_titles(new_atrack->demuxer, demuxer); + | ^~~~~~~~~~~~~~~~~~~~~~ + | mpeg3demux_open_title +mpeg3atrack.c: In function 'mpeg3_delete_atrack': +mpeg3atrack.c:51:34: warning: unused parameter 'file' [-Wunused-parameter] + 51 | int mpeg3_delete_atrack(mpeg3_t *file, mpeg3_atrack_t *atrack) + | ~~~~~~~~~^~~~ libmpeg3.c: In function 'mpeg3_colormodel': libmpeg3.c:858:24: warning: implicit declaration of function 'mpeg3video_colormodel'; did you mean 'mpeg3_colormodel'? [-Wimplicit-function-declaration] 858 | return mpeg3video_colormodel(file->vtrack[stream]->video); @@ -1773,20 +1793,12 @@ 275 | } | ^ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3css_fake.c -o aarch64/mpeg3css_fake.lo -mpeg3atrack.c: In function 'mpeg3_new_atrack': -mpeg3atrack.c:22:17: warning: implicit declaration of function 'mpeg3demux_copy_titles'; did you mean 'mpeg3demux_open_title'? [-Wimplicit-function-declaration] - 22 | mpeg3demux_copy_titles(new_atrack->demuxer, demuxer); - | ^~~~~~~~~~~~~~~~~~~~~~ - | mpeg3demux_open_title -mpeg3atrack.c: In function 'mpeg3_delete_atrack': -mpeg3atrack.c:51:34: warning: unused parameter 'file' [-Wunused-parameter] - 51 | int mpeg3_delete_atrack(mpeg3_t *file, mpeg3_atrack_t *atrack) - | ~~~~~~~~~^~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3demux.c -o aarch64/mpeg3demux.lo mpeg3bits.c: In function 'mpeg3bits_read_buffer': mpeg3bits.c:28:21: warning: unused variable 'i' [-Wunused-variable] 28 | int result, i = 0; | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3demux.c -o aarch64/mpeg3demux.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3ifo.c -o aarch64/mpeg3ifo.lo 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) @@ -1808,9 +1820,14 @@ mpeg3css_fake.c:21:71: warning: unused parameter 'offset' [-Wunused-parameter] 21 | int mpeg3_decrypt_packet(mpeg3_css_t *css, unsigned char *sector, int offset) | ~~~~^~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3ifo.c -o aarch64/mpeg3ifo.lo +audio/layer3.c: In function 'dequantize_sample': +audio/layer3.c:679:23: warning: array subscript 576 is outside array bounds of 'float[576]' [-Warray-bounds] + 679 | while(xrpnt < &xr[SBLIMIT][0]) + | ^~~~~~~~~~~~~~~ +audio/layer3.c:235:23: note: at offset 2304 into object 'xr' of size [0, 2304] + 235 | float xr[SBLIMIT][SSLIMIT], + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3io.c -o aarch64/mpeg3io.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3strack.c -o aarch64/mpeg3strack.lo 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; @@ -1826,7 +1843,6 @@ 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); | ^~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3title.c -o aarch64/mpeg3title.lo mpeg3ifo.c: In function 'cellplayinfo': mpeg3ifo.c:538:25: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 538 | ; @@ -1930,13 +1946,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1380 | demuxer->do_audio || | ~~~~~~~~~~~~~~~~~ -mpeg3strack.c: In function 'mpeg3_get_strack': -mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] - 70 | int i; - | ^ mpeg3demux.c:1092:13: warning: unused variable 'i' [-Wunused-variable] 1092 | int i; | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3strack.c -o aarch64/mpeg3strack.lo mpeg3demux.c: In function 'mpeg3demux_read_program': mpeg3demux.c:1446:18: warning: unused variable 'file' [-Wunused-variable] 1446 | mpeg3_t *file = demuxer->file; @@ -1990,6 +2003,10 @@ mpeg3demux.c:2461:13: warning: unused variable 'i' [-Wunused-variable] 2461 | int i, j; | ^ +mpeg3ifo.c: In function 'get_ifo_playlist.constprop': +mpeg3ifo.c:359:9: warning: '__builtin_strncpy' output may be truncated copying 6 bytes from a string of length 1023 [-Wstringop-truncation] + 359 | strncpy(vob_prefix, filename, 6); + | ^ mpeg3demux.c: In function 'mpeg3demux_scan_pts': mpeg3demux.c:2414:1: warning: control reaches end of non-void function [-Wreturn-type] 2414 | } @@ -2009,6 +2026,11 @@ mpeg3io.c:211:17: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 211 | getcwd(current_dir, MPEG3_STRLEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mpeg3strack.c: In function 'mpeg3_get_strack': +mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] + 70 | int i; + | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3title.c -o aarch64/mpeg3title.lo mpeg3title.c: In function 'extend_cell_table': mpeg3title.c:82:21: warning: unused variable 'i' [-Wunused-variable] 82 | int i; @@ -2043,10 +2065,6 @@ 185 | mpeg3_t *file = title->file; | ^~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3tocutil.c -o aarch64/mpeg3tocutil.lo -mpeg3ifo.c: In function 'get_ifo_playlist.constprop': -mpeg3ifo.c:359:9: warning: '__builtin_strncpy' output may be truncated copying 6 bytes from a string of length 1023 [-Wstringop-truncation] - 359 | strncpy(vob_prefix, filename, 6); - | ^ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3vtrack.c -o aarch64/mpeg3vtrack.lo mpeg3tocutil.c: In function 'read_data': mpeg3tocutil.c:112:1: warning: no return statement in function returning non-void [-Wreturn-type] @@ -2084,25 +2102,9 @@ mpeg3tocutil.c:745:16: warning: unused variable 'j' [-Wunused-variable] 745 | int i, j, k; | ^ -mpeg3vtrack.c: In function 'mpeg3_new_vtrack': -mpeg3vtrack.c:19:17: warning: implicit declaration of function 'mpeg3demux_copy_titles'; did you mean 'mpeg3demux_open_title'? [-Wimplicit-function-declaration] - 19 | mpeg3demux_copy_titles(new_vtrack->demuxer, demuxer); - | ^~~~~~~~~~~~~~~~~~~~~~ - | mpeg3demux_open_title -mpeg3vtrack.c:11:13: warning: unused variable 'result' [-Wunused-variable] - 11 | int result = 0; - | ^~~~~~ -mpeg3vtrack.c: In function 'mpeg3_delete_vtrack': -mpeg3vtrack.c:49:34: warning: unused parameter 'file' [-Wunused-parameter] - 49 | int mpeg3_delete_vtrack(mpeg3_t *file, mpeg3_vtrack_t *vtrack) - | ~~~~~~~~~^~~~ mpeg3tocutil.c:745:13: warning: unused variable 'i' [-Wunused-variable] 745 | int i, j, k; | ^ -mpeg3vtrack.c: At top level: -mpeg3vtrack.c:70:12: warning: 'last_keyframe' defined but not used [-Wunused-variable] - 70 | static int last_keyframe = 0; - | ^~~~~~~~~~~~~ mpeg3tocutil.c: In function 'handle_video': mpeg3tocutil.c:860:29: warning: implicit declaration of function 'mpeg3video_get_header'; did you mean 'mpeg3video_next_code'? [-Wimplicit-function-declaration] 860 | if(!mpeg3video_get_header(video, 0)) @@ -2135,6 +2137,18 @@ mpeg3tocutil.c:1193:33: warning: unused variable 'atrack' [-Wunused-variable] 1193 | mpeg3_atrack_t *atrack = file->atrack[i]; | ^~~~~~ +mpeg3vtrack.c: In function 'mpeg3_new_vtrack': +mpeg3vtrack.c:19:17: warning: implicit declaration of function 'mpeg3demux_copy_titles'; did you mean 'mpeg3demux_open_title'? [-Wimplicit-function-declaration] + 19 | mpeg3demux_copy_titles(new_vtrack->demuxer, demuxer); + | ^~~~~~~~~~~~~~~~~~~~~~ + | mpeg3demux_open_title +mpeg3vtrack.c:11:13: warning: unused variable 'result' [-Wunused-variable] + 11 | int result = 0; + | ^~~~~~ +mpeg3vtrack.c: In function 'mpeg3_delete_vtrack': +mpeg3vtrack.c:49:34: warning: unused parameter 'file' [-Wunused-parameter] + 49 | int mpeg3_delete_vtrack(mpeg3_t *file, mpeg3_vtrack_t *vtrack) + | ~~~~~~~~~^~~~ mpeg3tocutil.c: In function 'mpeg3_update_index': mpeg3tocutil.c:738:1: warning: control reaches end of non-void function [-Wreturn-type] 738 | } @@ -2143,15 +2157,17 @@ mpeg3tocutil.c:1159:1: warning: control reaches end of non-void function [-Wreturn-type] 1159 | } | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/getpicture.c -o aarch64/video/getpicture.lo +mpeg3vtrack.c: At top level: +mpeg3vtrack.c:70:12: warning: 'last_keyframe' defined but not used [-Wunused-variable] + 70 | static int last_keyframe = 0; + | ^~~~~~~~~~~~~ mpeg3tocutil.c: At top level: mpeg3tocutil.c:10:14: warning: 'test_file' defined but not used [-Wunused-variable] 10 | static FILE *test_file = 0; | ^~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/getpicture.c -o aarch64/video/getpicture.lo cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/headers.c -o aarch64/video/headers.lo cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/idct.c -o aarch64/video/idct.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/macroblocks.c -o aarch64/video/macroblocks.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mmxtest.c -o aarch64/video/mmxtest.lo video/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; @@ -2209,7 +2225,6 @@ video/headers.c:99:13: warning: variable 'colour_primaries' set but not used [-Wunused-but-set-variable] 99 | int colour_primaries = 0, transfer_characteristics = 0; | ^~~~~~~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/motion.c -o aarch64/video/motion.lo video/headers.c: In function 'mpeg3video_quant_matrix_extension': video/headers.c:127:13: warning: unused variable 'pos' [-Wunused-variable] 127 | int pos = 0; @@ -2292,16 +2307,6 @@ 625 | mpeg3_delete_slice_decoder(&(video->slice_decoders[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | mpeg3_delete_demuxer -video/mmxtest.c: In function 'mpeg3_mmx_test': -video/mmxtest.c:11:14: warning: unused variable 'string' [-Wunused-variable] - 11 | char string[MPEG3_STRLEN]; - | ^~~~~~ -video/mmxtest.c:10:15: warning: unused variable 'proc' [-Wunused-variable] - 10 | FILE *proc; - | ^~~~ -video/mmxtest.c:9:13: warning: unused variable 'result' [-Wunused-variable] - 9 | int result = 0; - | ^~~~~~ video/getpicture.c:630:25: warning: implicit declaration of function 'mpeg3_new_slice_decoder' [-Wimplicit-function-declaration] 630 | mpeg3_new_slice_decoder(video, &(video->slice_decoders[i])); | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -2312,7 +2317,19 @@ video/getpicture.c:721:25: warning: implicit declaration of function 'mpeg3video_display_second_field' [-Wimplicit-function-declaration] 721 | mpeg3video_display_second_field(video); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mpeg3cache.c -o aarch64/video/mpeg3cache.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/macroblocks.c -o aarch64/video/macroblocks.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mmxtest.c -o aarch64/video/mmxtest.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/motion.c -o aarch64/video/motion.lo +video/mmxtest.c: In function 'mpeg3_mmx_test': +video/mmxtest.c:11:14: warning: unused variable 'string' [-Wunused-variable] + 11 | char string[MPEG3_STRLEN]; + | ^~~~~~ +video/mmxtest.c:10:15: warning: unused variable 'proc' [-Wunused-variable] + 10 | FILE *proc; + | ^~~~ +video/mmxtest.c:9:13: warning: unused variable 'result' [-Wunused-variable] + 9 | int result = 0; + | ^~~~~~ video/motion.c: In function 'mpeg3video_motion_vector': video/motion.c:132:31: warning: unused parameter 'video' [-Wunused-parameter] 132 | mpeg3video_t *video, @@ -2321,23 +2338,8 @@ video/motion.c:178:13: warning: unused variable 'result' [-Wunused-variable] 178 | int result = 0; | ^~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mpeg3cache.c -o aarch64/video/mpeg3cache.lo cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mpeg3video.c -o aarch64/video/mpeg3video.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/output.c -o aarch64/video/output.lo -In function 'handle_scrambling', - inlined from 'get_program_pes_packet' at mpeg3demux.c:1426:17, - inlined from 'mpeg3demux_read_program' at mpeg3demux.c:1537:13: -mpeg3demux.c:777:20: warning: 'decryption_offset' may be used uninitialized [-Wmaybe-uninitialized] - 777 | if(mpeg3_decrypt_packet(title->fs->css, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 778 | buffer_ptr, - | ~~~~~~~~~~~ - 779 | decryption_offset)) - | ~~~~~~~~~~~~~~~~~~ -mpeg3demux.c: In function 'mpeg3demux_read_program': -mpeg3demux.c:1091:13: note: 'decryption_offset' was declared here - 1091 | int decryption_offset; - | ^~~~~~~~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/reconstruct.c -o aarch64/video/reconstruct.lo video/mpeg3video.c: In function 'mpeg3video_deletedecoder': video/mpeg3video.c:178:16: warning: unused variable 'padding' [-Wunused-variable] 178 | int i, padding; @@ -2362,45 +2364,6 @@ 254 | mpeg3_delete_slice_buffer(&(video->slice_buffers[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | mpeg3_delete_demuxer -video/output.c: In function 'mpeg3video_ditherframe': -video/output.c:141:27: warning: unused variable 'step' [-Wunused-variable] - 141 | int uv_subscript, step, w = -1; - | ^~~~ -video/output.c: In function 'mpeg3video_ditherframe444': -video/output.c:281:45: warning: unused parameter 'video' [-Wunused-parameter] - 281 | int mpeg3video_ditherframe444(mpeg3video_t *video, unsigned char *src[]) - | ~~~~~~~~~~~~~~^~~~~ -video/output.c:281:67: warning: unused parameter 'src' [-Wunused-parameter] - 281 | int mpeg3video_ditherframe444(mpeg3video_t *video, unsigned char *src[]) - | ~~~~~~~~~~~~~~~^~~~~ -video/output.c: In function 'mpeg3video_dithertop444': -video/output.c:291:43: warning: unused parameter 'video' [-Wunused-parameter] - 291 | int mpeg3video_dithertop444(mpeg3video_t *video, unsigned char *src[]) - | ~~~~~~~~~~~~~~^~~~~ -video/output.c:291:65: warning: unused parameter 'src' [-Wunused-parameter] - 291 | int mpeg3video_dithertop444(mpeg3video_t *video, unsigned char *src[]) - | ~~~~~~~~~~~~~~~^~~~~ -video/output.c: In function 'mpeg3video_ditherbot': -video/output.c:296:40: warning: unused parameter 'video' [-Wunused-parameter] - 296 | int mpeg3video_ditherbot(mpeg3video_t *video, unsigned char *src[]) - | ~~~~~~~~~~~~~~^~~~~ -video/output.c:296:62: warning: unused parameter 'src' [-Wunused-parameter] - 296 | int mpeg3video_ditherbot(mpeg3video_t *video, unsigned char *src[]) - | ~~~~~~~~~~~~~~~^~~~~ -video/output.c: In function 'mpeg3video_ditherbot444': -video/output.c:301:43: warning: unused parameter 'video' [-Wunused-parameter] - 301 | int mpeg3video_ditherbot444(mpeg3video_t *video, unsigned char *src[]) - | ~~~~~~~~~~~~~~^~~~~ -video/output.c:301:65: warning: unused parameter 'src' [-Wunused-parameter] - 301 | int mpeg3video_ditherbot444(mpeg3video_t *video, unsigned char *src[]) - | ~~~~~~~~~~~~~~~^~~~~ -video/output.c: In function 'memcpy_fast': -video/output.c:308:16: warning: unused variable 'len2' [-Wunused-variable] - 308 | int i, len2; - | ^~~~ -video/output.c:308:13: warning: unused variable 'i' [-Wunused-variable] - 308 | int i, len2; - | ^ video/mpeg3video.c: In function 'mpeg3video_read_frame_backend': video/mpeg3video.c:288:34: warning: implicit declaration of function 'mpeg3video_getpicture'; did you mean 'mpeg3video_getslicehdr'? [-Wimplicit-function-declaration] 288 | result = mpeg3video_getpicture(video, video->framenum); @@ -2409,26 +2372,12 @@ video/mpeg3video.c:293:33: warning: statement with no effect [-Wunused-value] 293 | got_top == 1; | ~~~~~~~~^~~~ -video/output.c: In function 'mpeg3video_present_frame': -video/output.c:348:22: warning: unused variable 'l' [-Wunused-variable] - 348 | int i, j, k, l; - | ^ -video/output.c:348:19: warning: unused variable 'k' [-Wunused-variable] - 348 | int i, j, k, l; - | ^ -video/output.c:348:16: warning: unused variable 'j' [-Wunused-variable] - 348 | int i, j, k, l; - | ^ video/mpeg3video.c:268:18: warning: unused variable 'file' [-Wunused-variable] 268 | mpeg3_t *file = (mpeg3_t*)video->file; | ^~~~ video/mpeg3video.c:267:25: warning: unused variable 'track' [-Wunused-variable] 267 | mpeg3_vtrack_t *track = video->track; | ^~~~~ -video/output.c: In function 'mpeg3video_display_second_field': -video/output.c:499:51: warning: unused parameter 'video' [-Wunused-parameter] - 499 | int mpeg3video_display_second_field(mpeg3video_t *video) - | ~~~~~~~~~~~~~~^~~~~ video/mpeg3video.c: In function 'mpeg3video_new': video/mpeg3video.c:424:62: warning: implicit declaration of function 'mpeg3video_getgophdr'; did you mean 'mpeg3video_getslicehdr'? [-Wimplicit-function-declaration] 424 | if(!result) result = mpeg3video_getgophdr(video); @@ -2446,6 +2395,7 @@ video/mpeg3video.c:405:35: warning: variable 'minute' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/output.c -o aarch64/video/output.lo video/mpeg3video.c:405:29: warning: variable 'hour' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~ @@ -2476,7 +2426,6 @@ video/mpeg3video.c:716:21: warning: variable 'size0' set but not used [-Wunused-but-set-variable] 716 | int size0, size1; | ^~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/seek.c -o aarch64/video/seek.lo video/getpicture.c: In function 'mpeg3video_getinterblock': video/getpicture.c:293:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 293 | if(j != 0) @@ -2484,6 +2433,67 @@ video/getpicture.c:219:21: note: 'j' was declared here 219 | int val, i, j, sign; | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/reconstruct.c -o aarch64/video/reconstruct.lo +video/output.c: In function 'mpeg3video_ditherframe': +video/output.c:141:27: warning: unused variable 'step' [-Wunused-variable] + 141 | int uv_subscript, step, w = -1; + | ^~~~ +video/output.c: In function 'mpeg3video_ditherframe444': +video/output.c:281:45: warning: unused parameter 'video' [-Wunused-parameter] + 281 | int mpeg3video_ditherframe444(mpeg3video_t *video, unsigned char *src[]) + | ~~~~~~~~~~~~~~^~~~~ +video/output.c:281:67: warning: unused parameter 'src' [-Wunused-parameter] + 281 | int mpeg3video_ditherframe444(mpeg3video_t *video, unsigned char *src[]) + | ~~~~~~~~~~~~~~~^~~~~ +video/output.c: In function 'mpeg3video_dithertop444': +video/output.c:291:43: warning: unused parameter 'video' [-Wunused-parameter] + 291 | int mpeg3video_dithertop444(mpeg3video_t *video, unsigned char *src[]) + | ~~~~~~~~~~~~~~^~~~~ +video/output.c:291:65: warning: unused parameter 'src' [-Wunused-parameter] + 291 | int mpeg3video_dithertop444(mpeg3video_t *video, unsigned char *src[]) + | ~~~~~~~~~~~~~~~^~~~~ +video/output.c: In function 'mpeg3video_ditherbot': +video/output.c:296:40: warning: unused parameter 'video' [-Wunused-parameter] + 296 | int mpeg3video_ditherbot(mpeg3video_t *video, unsigned char *src[]) + | ~~~~~~~~~~~~~~^~~~~ +video/output.c:296:62: warning: unused parameter 'src' [-Wunused-parameter] + 296 | int mpeg3video_ditherbot(mpeg3video_t *video, unsigned char *src[]) + | ~~~~~~~~~~~~~~~^~~~~ +video/output.c: In function 'mpeg3video_ditherbot444': +video/output.c:301:43: warning: unused parameter 'video' [-Wunused-parameter] + 301 | int mpeg3video_ditherbot444(mpeg3video_t *video, unsigned char *src[]) + | ~~~~~~~~~~~~~~^~~~~ +video/output.c:301:65: warning: unused parameter 'src' [-Wunused-parameter] + 301 | int mpeg3video_ditherbot444(mpeg3video_t *video, unsigned char *src[]) + | ~~~~~~~~~~~~~~~^~~~~ +video/output.c: In function 'memcpy_fast': +video/output.c:308:16: warning: unused variable 'len2' [-Wunused-variable] + 308 | int i, len2; + | ^~~~ +video/output.c:308:13: warning: unused variable 'i' [-Wunused-variable] + 308 | int i, len2; + | ^ +video/output.c: In function 'mpeg3video_present_frame': +video/output.c:348:22: warning: unused variable 'l' [-Wunused-variable] + 348 | int i, j, k, l; + | ^ +video/output.c:348:19: warning: unused variable 'k' [-Wunused-variable] + 348 | int i, j, k, l; + | ^ +video/output.c:348:16: warning: unused variable 'j' [-Wunused-variable] + 348 | int i, j, k, l; + | ^ +video/output.c: In function 'mpeg3video_display_second_field': +video/output.c:499:51: warning: unused parameter 'video' [-Wunused-parameter] + 499 | int mpeg3video_display_second_field(mpeg3video_t *video) + | ~~~~~~~~~~~~~~^~~~~ +video/getpicture.c: In function 'mpeg3video_getmpg2intrablock': +video/getpicture.c:411:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] + 411 | if(j != 0) + | ^ +video/getpicture.c:308:21: note: 'j' was declared here + 308 | int val, i, j, sign, nc; + | ^ video/reconstruct.c: In function 'recon_comp': video/reconstruct.c:417:31: warning: unused parameter 'video' [-Wunused-parameter] 417 | void recon_comp(mpeg3video_t *video, @@ -2502,13 +2512,29 @@ video/reconstruct.c:756:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 756 | ; | ^ -video/getpicture.c: In function 'mpeg3video_getmpg2intrablock': -video/getpicture.c:411:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] - 411 | if(j != 0) +In function 'handle_scrambling', + inlined from 'get_program_pes_packet' at mpeg3demux.c:1426:17, + inlined from 'mpeg3demux_read_program' at mpeg3demux.c:1537:13: +mpeg3demux.c:777:20: warning: 'decryption_offset' may be used uninitialized [-Wmaybe-uninitialized] + 777 | if(mpeg3_decrypt_packet(title->fs->css, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 778 | buffer_ptr, + | ~~~~~~~~~~~ + 779 | decryption_offset)) + | ~~~~~~~~~~~~~~~~~~ +mpeg3demux.c: In function 'mpeg3demux_read_program': +mpeg3demux.c:1091:13: note: 'decryption_offset' was declared here + 1091 | int decryption_offset; + | ^~~~~~~~~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/seek.c -o aarch64/video/seek.lo +video/getpicture.c: In function 'mpeg3video_getmpg2interblock': +video/getpicture.c:506:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] + 506 | if(j != 0) | ^ -video/getpicture.c:308:21: note: 'j' was declared here - 308 | int val, i, j, sign, nc; +video/getpicture.c:426:21: note: 'j' was declared here + 426 | int val, i, j, sign, nc; | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/slice.c -o aarch64/video/slice.lo video/seek.c: In function 'mpeg3video_match_refframes': video/seek.c:143:16: warning: unused variable 'j' [-Wunused-variable] 143 | int i, j, size; @@ -2537,14 +2563,6 @@ video/seek.c:208:14: warning: unused variable 'this_gop_start' [-Wunused-variable] 208 | long this_gop_start; | ^~~~~~~~~~~~~~ -video/getpicture.c: In function 'mpeg3video_getmpg2interblock': -video/getpicture.c:506:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] - 506 | if(j != 0) - | ^ -video/getpicture.c:426:21: note: 'j' was declared here - 426 | int val, i, j, sign, nc; - | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/slice.c -o aarch64/video/slice.lo video/slice.c: In function 'mpeg3video_addblock': video/slice.c:62:13: warning: unused variable 'spar' [-Wunused-variable] 62 | int spar = slice->sparse[comp]; @@ -2554,7 +2572,6 @@ 239 | mpeg3video_macroblock_modes(slice, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | mpeg3video_get_macroblock_address -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/subtitle.c -o aarch64/video/subtitle.lo video/slice.c:336:31: warning: implicit declaration of function 'mpeg3video_get_cbp'; did you mean 'mpeg3video_next_code'? [-Wimplicit-function-declaration] 336 | cbp = mpeg3video_get_cbp(slice); | ^~~~~~~~~~~~~~~~~~ @@ -2583,8 +2600,8 @@ 453 | mpeg3video_reconstruct(video, | ^~~~~~~~~~~~~~~~~~~~~~ | mpeg3video_read_raw +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/subtitle.c -o aarch64/video/subtitle.lo cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/vlc.c -o aarch64/video/vlc.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT workarounds.c -o aarch64/workarounds.lo video/subtitle.c: In function 'decompress_subtitle': video/subtitle.c:371:56: warning: unused variable 't' [-Wunused-variable] 371 | float f, p, q, t; @@ -2614,6 +2631,7 @@ video/subtitle.c:540:25: warning: unused variable 'vtrack' [-Wunused-variable] 540 | mpeg3_vtrack_t *vtrack = (mpeg3_vtrack_t*)video->track; | ^~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT workarounds.c -o aarch64/workarounds.lo ar rcs aarch64/libmpeg3.a `cat aarch64/objs` cc -shared -fPIC -Wl,-z,relro -Wl,-z,now -o aarch64/libmpeg3.so.2.1.8 \ aarch64/audio/ac3.lo aarch64/audio/dct.lo aarch64/audio/huffman.lo aarch64/audio/layer2.lo aarch64/audio/layer3.lo aarch64/audio/mpeg3audio.lo aarch64/audio/pcm.lo aarch64/audio/synthesizers.lo aarch64/audio/tables.lo aarch64/libmpeg3.lo aarch64/mpeg3atrack.lo aarch64/mpeg3bits.lo aarch64/mpeg3css_fake.lo aarch64/mpeg3demux.lo aarch64/mpeg3ifo.lo aarch64/mpeg3io.lo aarch64/mpeg3strack.lo aarch64/mpeg3title.lo aarch64/mpeg3tocutil.lo aarch64/mpeg3vtrack.lo aarch64/video/getpicture.lo aarch64/video/headers.lo aarch64/video/idct.lo aarch64/video/macroblocks.lo aarch64/video/mmxtest.lo aarch64/video/motion.lo aarch64/video/mpeg3cache.lo aarch64/video/mpeg3video.lo aarch64/video/output.lo aarch64/video/reconstruct.lo aarch64/video/seek.lo aarch64/video/slice.lo aarch64/video/subtitle.lo aarch64/video/vlc.lo aarch64/workarounds.lo \ @@ -2626,13 +2644,6 @@ cc -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT -o aarch64/mpeg3peek mpeg3peek.c aarch64/libmpeg3.so.2.1.8 -lm -lpthread -la52 cc -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT -o aarch64/mpeg3toc mpeg3toc.c aarch64/libmpeg3.so.2.1.8 -lm -lpthread -la52 cc -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT -o aarch64/mpeg3cat mpeg3cat.c aarch64/libmpeg3.so.2.1.8 -lm -lpthread -la52 -mpeg3toc.c: In function 'main': -mpeg3toc.c:21:19: warning: unused variable 'l' [-Wunused-variable] - 21 | int i, j, l; - | ^ -mpeg3toc.c:21:16: warning: unused variable 'j' [-Wunused-variable] - 21 | int i, j, l; - | ^ mpeg3dump.c: In function 'main': mpeg3dump.c:69:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 69 | if(out = fopen(outfile, "r")) @@ -2649,6 +2660,13 @@ mpeg3dump.c:23:24: warning: unused variable 'output' [-Wunused-variable] 23 | unsigned char *output, **output_rows; | ^~~~~~ +mpeg3toc.c: In function 'main': +mpeg3toc.c:21:19: warning: unused variable 'l' [-Wunused-variable] + 21 | int i, j, l; + | ^ +mpeg3toc.c:21:16: warning: unused variable 'j' [-Wunused-variable] + 21 | int i, j, l; + | ^ mpeg3cat.c: In function 'main': mpeg3cat.c:148:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 148 | if(out = fopen(outpath, "r")) @@ -2700,11 +2718,11 @@ dh_gencontrol -O-Smakefile dh_md5sums -O-Smakefile dh_builddeb -O-Smakefile -dpkg-deb: building package 'libmpeg3-2-dbgsym' in '../libmpeg3-2-dbgsym_1.8.dfsg-3_arm64.deb'. -dpkg-deb: building package 'mpeg3-utils-dbgsym' in '../mpeg3-utils-dbgsym_1.8.dfsg-3_arm64.deb'. dpkg-deb: building package 'mpeg3-utils' in '../mpeg3-utils_1.8.dfsg-3_arm64.deb'. -dpkg-deb: building package 'libmpeg3-2' in '../libmpeg3-2_1.8.dfsg-3_arm64.deb'. dpkg-deb: building package 'libmpeg3-dev' in '../libmpeg3-dev_1.8.dfsg-3_arm64.deb'. +dpkg-deb: building package 'mpeg3-utils-dbgsym' in '../mpeg3-utils-dbgsym_1.8.dfsg-3_arm64.deb'. +dpkg-deb: building package 'libmpeg3-2' in '../libmpeg3-2_1.8.dfsg-3_arm64.deb'. +dpkg-deb: building package 'libmpeg3-2-dbgsym' in '../libmpeg3-2-dbgsym_1.8.dfsg-3_arm64.deb'. dpkg-genbuildinfo --build=binary -O../libmpeg3_1.8.dfsg-3_arm64.buildinfo dpkg-genchanges --build=binary -O../libmpeg3_1.8.dfsg-3_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2712,12 +2730,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/26131/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/26131/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/23299 and its subdirectories -I: Current time: Sun Apr 9 21:37:03 -12 2023 -I: pbuilder-time-stamp: 1681119423 +I: removing directory /srv/workspace/pbuilder/26131 and its subdirectories +I: Current time: Mon May 13 06:01:21 +14 2024 +I: pbuilder-time-stamp: 1715529681