D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/mjpegtools-2.2.1-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vIveVP Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FDiY7Y + umask 022 + cd /home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build + rm -rf mjpegtools-2.2.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/mjpegtools-2.2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mjpegtools-2.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (mjpegtools-use-grep-F-instead-of-deprecated-fgrep.patch):' Patch #1 (mjpegtools-use-grep-F-instead-of-deprecated-fgrep.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file scripts/lav2avi.sh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wySzke + umask 022 + cd /home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mjpegtools-2.2.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir build-x86_64 + pushd build-x86_64 ~/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64 ~/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1 + CONFIGURE_TOP=.. + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=.. + '[' 1 = 1 ']' ++ find .. -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ../config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ../config.guess + cp -af /usr/lib/rpm/mageia/config.guess ../config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ../config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ../config.sub + cp -af /usr/lib/rpm/mageia/config.sub ../config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .. Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib .. lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + ../configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-simd-accel --without-v4l --disable-static checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gawk... (cached) gawk checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether ln -s works... yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking dependency style of gcc... none checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for sys/types.h... (cached) yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking for sin in -lm... yes checking for posix_memalign... yes checking for memalign... yes checking for fmax... yes checking for fmin... yes checking for lround... yes checking for getopt_long... yes checking return type of signal handlers... void configure: The host is x86_64-mageia-linux-gnu x86_64 mageia linux-gnu . checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking for pthread_attr_getstacksize... yes checking for jpeg_start_compress in -ljpeg... yes checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for libquicktime > 0.9.7... yes checking for libpng... yes checking for libdv >= 0.9... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for __progname... no checking for gtk+-2.0 >= 2.4.0... yes checking for sdl > 1.1.3... yes checking for vlineColor in -lSDL_gfx... yes checking Architecture... x86_64 enable_static_build=\'\' checking whether realpath(path, NULL) allocates memory for result... yes checking what warning flags to pass to the C compiler... -Wall -Wunused checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating docs/Makefile config.status: creating lavtools/Makefile config.status: creating yuvcorrect/Makefile config.status: creating yuvdenoise/Makefile config.status: creating yuvdeinterlace/Makefile config.status: creating yuvscaler/Makefile config.status: creating y4munsharp/Makefile config.status: creating y4mutils/Makefile config.status: creating yuvfilters/Makefile config.status: creating mpeg2enc/Makefile config.status: creating aenc/Makefile config.status: creating mplex/Makefile config.status: creating scripts/Makefile config.status: creating utils/Makefile config.status: creating utils/altivec/Makefile config.status: creating utils/mmxsse/Makefile config.status: creating y4mdenoise/Makefile config.status: creating y4mscaler/Makefile config.status: creating mjpegtools.pc config.status: creating mjpegtools.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: configure: MJPEG tools 2.2.1 build configuration : configure: configure: - X86 Optimizations: configure: - MMX/3DNow!/SSE enabled : false configure: - video4linux recording/playback: false configure: - software MJPEG playback : true configure: - Quicktime playback/recording : true configure: - PNG input support : true configure: - AVI MJPEG playback/recording : true (always) configure: - libDV (digital video) support : true configure: - Gtk+ support for glav : true configure: + /usr/bin/make /usr/bin/make all-recursive make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64' Making all in utils make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../utils -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o mjpeg_logging.lo ../../utils/mjpeg_logging.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../utils -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../utils/mjpeg_logging.c -fPIC -DPIC -o .libs/mjpeg_logging.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../utils -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o mpegconsts.lo ../../utils/mpegconsts.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../utils -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../utils/mpegconsts.c -fPIC -DPIC -o .libs/mpegconsts.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../utils -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o mpegtimecode.lo ../../utils/mpegtimecode.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../utils -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../utils/mpegtimecode.c -fPIC -DPIC -o .libs/mpegtimecode.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../utils -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o yuv4mpeg.lo ../../utils/yuv4mpeg.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../utils -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../utils/yuv4mpeg.c -fPIC -DPIC -o .libs/yuv4mpeg.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../utils -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o yuv4mpeg_ratio.lo ../../utils/yuv4mpeg_ratio.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../utils -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../utils/yuv4mpeg_ratio.c -fPIC -DPIC -o .libs/yuv4mpeg_ratio.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../utils -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o motionsearch.lo ../../utils/motionsearch.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../utils -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../utils/motionsearch.c -fPIC -DPIC -o .libs/motionsearch.o ../../utils/motionsearch.c: In function 'sumsq': ../../utils/motionsearch.c:756:12: warning: old-style function definition [-Wold-style-definition] 756 | STATIC int sumsq(blk1,blk2,rowstride,hx,hy,h) | ^~~~~ ../../utils/motionsearch.c: In function 'bsad': ../../utils/motionsearch.c:836:12: warning: old-style function definition [-Wold-style-definition] 836 | STATIC int bsad(pf,pb,p2,rowstride,hxf,hyf,hxb,hyb,h) | ^~~~ ../../utils/motionsearch.c: In function 'bsumsq': ../../utils/motionsearch.c:889:12: warning: old-style function definition [-Wold-style-definition] 889 | STATIC int bsumsq(pf,pb,p2,rowstride,hxf,hyf,hxb,hyb,h) | ^~~~~~ ../../utils/motionsearch.c: In function 'init_motion_search': ../../utils/motionsearch.c:972:13: warning: unused variable 'cpucap' [-Wunused-variable] 972 | int cpucap = cpu_accel(); | ^~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../utils -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o cpu_accel.lo ../../utils/cpu_accel.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../utils -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../utils/cpu_accel.c -fPIC -DPIC -o .libs/cpu_accel.o /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -version-info 0:0:0 -release 2.2 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libmjpegutils.la -rpath /usr/lib64 mjpeg_logging.lo mpegconsts.lo mpegtimecode.lo yuv4mpeg.lo yuv4mpeg_ratio.lo motionsearch.lo cpu_accel.lo -lm libtool: link: gcc -shared -fPIC -DPIC .libs/mjpeg_logging.o .libs/mpegconsts.o .libs/mpegtimecode.o .libs/yuv4mpeg.o .libs/yuv4mpeg_ratio.o .libs/motionsearch.o .libs/cpu_accel.o -O2 -g -fstack-protector-strong -m64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -lm -Wl,-soname -Wl,libmjpegutils-2.2.so.0 -o .libs/libmjpegutils-2.2.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libmjpegutils-2.2.so.0" && ln -s "libmjpegutils-2.2.so.0.0.0" "libmjpegutils-2.2.so.0") libtool: link: (cd ".libs" && rm -f "libmjpegutils.so" && ln -s "libmjpegutils-2.2.so.0.0.0" "libmjpegutils.so") libtool: link: ( cd ".libs" && rm -f "libmjpegutils.la" && ln -s "../libmjpegutils.la" "libmjpegutils.la" ) make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils' Making all in mpeg2enc make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/mpeg2enc' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o conform.lo ../../mpeg2enc/conform.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/conform.cc -fPIC -DPIC -o .libs/conform.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o elemstrmwriter.lo ../../mpeg2enc/elemstrmwriter.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/elemstrmwriter.cc -fPIC -DPIC -o .libs/elemstrmwriter.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o encoderparams.lo ../../mpeg2enc/encoderparams.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/encoderparams.cc -fPIC -DPIC -o .libs/encoderparams.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o macroblock.lo ../../mpeg2enc/macroblock.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/macroblock.cc -fPIC -DPIC -o .libs/macroblock.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o motionest.lo ../../mpeg2enc/motionest.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/motionest.cc -fPIC -DPIC -o .libs/motionest.o In file included from ../../mpeg2enc/motionest.cc:57: ../../utils/fastintfns.h:5:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 5 | static inline int intmax( register int x, register int y ) | ^ ../../utils/fastintfns.h:5:56: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 5 | static inline int intmax( register int x, register int y ) | ^ ../../utils/fastintfns.h:10:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 10 | static inline int intmin( register int x, register int y ) | ^ ../../utils/fastintfns.h:10:56: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 10 | static inline int intmin( register int x, register int y ) | ^ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mpeg2coder.lo ../../mpeg2enc/mpeg2coder.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/mpeg2coder.cc -fPIC -DPIC -o .libs/mpeg2coder.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mpeg2encoptions.lo ../../mpeg2enc/mpeg2encoptions.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/mpeg2encoptions.cc -fPIC -DPIC -o .libs/mpeg2encoptions.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o imageplanes.lo ../../mpeg2enc/imageplanes.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/imageplanes.cc -fPIC -DPIC -o .libs/imageplanes.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mpeg2encoder.lo ../../mpeg2enc/mpeg2encoder.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/mpeg2encoder.cc -fPIC -DPIC -o .libs/mpeg2encoder.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o picture.lo ../../mpeg2enc/picture.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/picture.cc -fPIC -DPIC -o .libs/picture.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o picturereader.lo ../../mpeg2enc/picturereader.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/picturereader.cc -fPIC -DPIC -o .libs/picturereader.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o predict.lo ../../mpeg2enc/predict.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/predict.cc -fPIC -DPIC -o .libs/predict.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o putpic.lo ../../mpeg2enc/putpic.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/putpic.cc -fPIC -DPIC -o .libs/putpic.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o streamstate.lo ../../mpeg2enc/streamstate.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/streamstate.cc -fPIC -DPIC -o .libs/streamstate.o ../../mpeg2enc/streamstate.cc: In member function 'void StreamState::Init()': ../../mpeg2enc/streamstate.cc:45:34: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 45 | mjpeg_debug( "Split len = %lld", seq_split_length ); | ~~~^ ~~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long int | %ld /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o seqencoder.lo ../../mpeg2enc/seqencoder.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/seqencoder.cc -fPIC -DPIC -o .libs/seqencoder.o ../../mpeg2enc/seqencoder.cc: In member function 'void SeqEncoder::StreamEnd()': ../../mpeg2enc/seqencoder.cc:931:53: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 931 | mjpeg_info( "Guesstimated final muxed size = %lld\n", bits_after_mux/8 ); | ~~~^ ~~~~~~~~~~~~~~~~ | | | | long long int uint64_t {aka long unsigned int} | %ld /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o quantize.lo ../../mpeg2enc/quantize.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/quantize.cc -fPIC -DPIC -o .libs/quantize.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o ratectl.lo ../../mpeg2enc/ratectl.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/ratectl.cc -fPIC -DPIC -o .libs/ratectl.o In file included from ../../mpeg2enc/ratectl.cc:57: ../../utils/fastintfns.h:5:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 5 | static inline int intmax( register int x, register int y ) | ^ ../../utils/fastintfns.h:5:56: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 5 | static inline int intmax( register int x, register int y ) | ^ ../../utils/fastintfns.h:10:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 10 | static inline int intmin( register int x, register int y ) | ^ ../../utils/fastintfns.h:10:56: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 10 | static inline int intmin( register int x, register int y ) | ^ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o stats.lo ../../mpeg2enc/stats.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/stats.cc -fPIC -DPIC -o .libs/stats.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o tables.lo ../../mpeg2enc/tables.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../mpeg2enc/tables.c -fPIC -DPIC -o .libs/tables.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o transfrm.lo ../../mpeg2enc/transfrm.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/transfrm.cc -fPIC -DPIC -o .libs/transfrm.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o fdct.lo ../../mpeg2enc/fdct.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../mpeg2enc/fdct.c -fPIC -DPIC -o .libs/fdct.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o idct.lo ../../mpeg2enc/idct.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../mpeg2enc/idct.c -fPIC -DPIC -o .libs/idct.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o predict_ref.lo ../../mpeg2enc/predict_ref.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../mpeg2enc/predict_ref.c -fPIC -DPIC -o .libs/predict_ref.o ../../mpeg2enc/predict_ref.c:182:27: warning: argument 1 of type 'uint8_t *[]' {aka 'unsigned char *[]'} with mismatched bound [-Warray-parameter=] 182 | void clearblock( uint8_t *cur[], int i0, int j0, | ~~~~~~~~~^~~~~ In file included from ../../mpeg2enc/predict_ref.c:54: ../../mpeg2enc/predict_ref.h:40:32: note: previously declared as 'uint8_t *[3]' {aka 'unsigned char *[3]'} 40 | void clearblock ( uint8_t *cur[3], int i0, int j0, | ~~~~~~~~~^~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o quantize_ref.lo ../../mpeg2enc/quantize_ref.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../mpeg2enc/quantize_ref.c -fPIC -DPIC -o .libs/quantize_ref.o ../../mpeg2enc/quantize_ref.c: In function 'init_quantizer': ../../mpeg2enc/quantize_ref.c:458:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 458 | if( ((int)wsp)%16 != 0 ) | ^ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o transfrm_ref.lo ../../mpeg2enc/transfrm_ref.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../mpeg2enc/transfrm_ref.c -fPIC -DPIC -o .libs/transfrm_ref.o ../../mpeg2enc/transfrm_ref.c: In function 'init_transform': ../../mpeg2enc/transfrm_ref.c:192:13: warning: variable 'flags' set but not used [-Wunused-but-set-variable] 192 | int flags; | ^~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o ontheflyratectlpass1.lo ../../mpeg2enc/ontheflyratectlpass1.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/ontheflyratectlpass1.cc -fPIC -DPIC -o .libs/ontheflyratectlpass1.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o ontheflyratectlpass2.lo ../../mpeg2enc/ontheflyratectlpass2.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/ontheflyratectlpass2.cc -fPIC -DPIC -o .libs/ontheflyratectlpass2.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o rate_complexity_model.lo ../../mpeg2enc/rate_complexity_model.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mpeg2enc/rate_complexity_model.cc -fPIC -DPIC -o .libs/rate_complexity_model.o /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -version-info 0:0:0 -release 2.2 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libmpeg2encpp.la -rpath /usr/lib64 conform.lo elemstrmwriter.lo encoderparams.lo macroblock.lo motionest.lo mpeg2coder.lo mpeg2encoptions.lo imageplanes.lo mpeg2encoder.lo picture.lo picturereader.lo predict.lo putpic.lo streamstate.lo seqencoder.lo quantize.lo ratectl.lo stats.lo tables.lo transfrm.lo fdct.lo idct.lo predict_ref.lo quantize_ref.lo transfrm_ref.lo ontheflyratectlpass1.lo ontheflyratectlpass2.lo rate_complexity_model.lo ../utils/libmjpegutils.la -lm libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-mageia-linux/15/../../../../lib64/crti.o /usr/lib/gcc/x86_64-mageia-linux/15/crtbeginS.o .libs/conform.o .libs/elemstrmwriter.o .libs/encoderparams.o .libs/macroblock.o .libs/motionest.o .libs/mpeg2coder.o .libs/mpeg2encoptions.o .libs/imageplanes.o .libs/mpeg2encoder.o .libs/picture.o .libs/picturereader.o .libs/predict.o .libs/putpic.o .libs/streamstate.o .libs/seqencoder.o .libs/quantize.o .libs/ratectl.o .libs/stats.o .libs/tables.o .libs/transfrm.o .libs/fdct.o .libs/idct.o .libs/predict_ref.o .libs/quantize_ref.o .libs/transfrm_ref.o .libs/ontheflyratectlpass1.o .libs/ontheflyratectlpass2.o .libs/rate_complexity_model.o -O2 -g -fstack-protector-strong -m64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,-rpath -Wl,/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils/.libs ../utils/.libs/libmjpegutils.so -L/usr/lib/gcc/x86_64-mageia-linux/15 -L/usr/lib/gcc/x86_64-mageia-linux/15/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-mageia-linux/15/../../.. -L/lib -L/usr/lib -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-mageia-linux/15/crtendS.o /usr/lib/gcc/x86_64-mageia-linux/15/../../../../lib64/crtn.o -Wl,-soname -Wl,libmpeg2encpp-2.2.so.0 -o .libs/libmpeg2encpp-2.2.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libmpeg2encpp-2.2.so.0" && ln -s "libmpeg2encpp-2.2.so.0.0.0" "libmpeg2encpp-2.2.so.0") libtool: link: (cd ".libs" && rm -f "libmpeg2encpp.so" && ln -s "libmpeg2encpp-2.2.so.0.0.0" "libmpeg2encpp.so") libtool: link: ( cd ".libs" && rm -f "libmpeg2encpp.la" && ln -s "../libmpeg2encpp.la" "libmpeg2encpp.la" ) g++ -DHAVE_CONFIG_H -I. -I../../mpeg2enc -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mpeg2enc.o ../../mpeg2enc/mpeg2enc.cc /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mpeg2enc mpeg2enc.o libmpeg2encpp.la ../utils/libmjpegutils.la -lm -lm libtool: link: g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/mpeg2enc mpeg2enc.o ./.libs/libmpeg2encpp.so /home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils/.libs/libmjpegutils.so ../utils/.libs/libmjpegutils.so -lm make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/mpeg2enc' Making all in lavtools make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/lavtools' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o liblavfile_la-editlist.lo `test -f 'editlist.c' || echo '../../lavtools/'`editlist.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../lavtools/editlist.c -fPIC -DPIC -o .libs/liblavfile_la-editlist.o ../../lavtools/editlist.c: In function 'read_video_files': ../../lavtools/editlist.c:288:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 288 | fgets(line,1024,fd); | ^~~~~~~~~~~~~~~~~~~ ../../lavtools/editlist.c:296:10: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 296 | fgets(line,1024,fd); | ^~~~~~~~~~~~~~~~~~~ ../../lavtools/editlist.c:323:10: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 323 | fgets(line,1024,fd); | ^~~~~~~~~~~~~~~~~~~ ../../lavtools/editlist.c:332:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 332 | fgets(line,1024,fd); | ^~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o liblavfile_la-lav_io.lo `test -f 'lav_io.c' || echo '../../lavtools/'`lav_io.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../lavtools/lav_io.c -fPIC -DPIC -o .libs/liblavfile_la-lav_io.o ../../lavtools/lav_io.c: In function 'lav_write_frame': ../../lavtools/lav_io.c:483:57: warning: pointer targets in passing argument 2 of 'AVI_write_frame' differ in signedness [-Wpointer-sign] 483 | res = AVI_write_frame( lav_file->avi_fd, buff, size, 0); | ^~~~ | | | uint8_t * {aka unsigned char *} In file included from ../../lavtools/lav_io.h:20, from ../../lavtools/lav_io.c:31: ../../lavtools/avilib.h:321:40: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 321 | int AVI_write_frame(avi_t *AVI, char *data, long bytes, int keyframe); | ~~~~~~^~~~ ../../lavtools/lav_io.c: In function 'lav_write_audio': ../../lavtools/lav_io.c:520:51: warning: pointer targets in passing argument 2 of 'AVI_write_audio' differ in signedness [-Wpointer-sign] 520 | res = AVI_write_audio( lav_file->avi_fd, buff, samps*lav_file->bps); | ^~~~ | | | uint8_t * {aka unsigned char *} ../../lavtools/avilib.h:323:40: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 323 | int AVI_write_audio(avi_t *AVI, char *data, long bytes); | ~~~~~~^~~~ ../../lavtools/lav_io.c:545:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 545 | for (i = 0; i < channels; i++) | ^~~ ../../lavtools/lav_io.c:547:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 547 | free(qt_audion); | ^~~~ ../../lavtools/lav_io.c: In function 'lav_read_frame': ../../lavtools/lav_io.c:785:49: warning: pointer targets in passing argument 2 of 'AVI_read_frame' differ in signedness [-Wpointer-sign] 785 | return AVI_read_frame(lav_file->avi_fd,vidbuf, &keyframe); | ^~~~~~ | | | uint8_t * {aka unsigned char *} ../../lavtools/avilib.h:358:39: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 358 | long AVI_read_frame(avi_t *AVI, char *vidbuf, int *keyframe); | ~~~~~~^~~~~~ ../../lavtools/lav_io.c: In function 'lav_read_audio': ../../lavtools/lav_io.c:831:49: warning: pointer targets in passing argument 2 of 'AVI_read_audio' differ in signedness [-Wpointer-sign] 831 | return AVI_read_audio(lav_file->avi_fd,audbuf,samps*lav_file->bps)/lav_file->bps; | ^~~~~~ | | | uint8_t * {aka unsigned char *} ../../lavtools/avilib.h:366:39: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 366 | long AVI_read_audio(avi_t *AVI, char *audbuf, long bytes); | ~~~~~~^~~~~~ ../../lavtools/lav_io.c: In function 'lav_write_frame': ../../lavtools/lav_io.c:489:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 489 | write(lav_file->jpeg_fd, buff, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o liblavfile_la-avilib.lo `test -f 'avilib.c' || echo '../../lavtools/'`avilib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../lavtools/avilib.c -fPIC -DPIC -o .libs/liblavfile_la-avilib.o ../../lavtools/avilib.c: In function 'avi_ixnn_entry': ../../lavtools/avilib.c:218:30: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 218 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * ../../lavtools/avilib.c:250:5: note: in expansion of macro 'OUTD' 250 | OUTD(ch->nEntriesInUse); | ^~~~ ../../lavtools/avilib.c:122:37: note: expected 'unsigned char *' but argument is of type 'char *' 122 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:218:30: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 218 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * ../../lavtools/avilib.c:252:5: note: in expansion of macro 'OUTD' 252 | OUTD(ch->qwBaseOffset&0xffffffff); | ^~~~ ../../lavtools/avilib.c:122:37: note: expected 'unsigned char *' but argument is of type 'char *' 122 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:218:30: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 218 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * ../../lavtools/avilib.c:253:5: note: in expansion of macro 'OUTD' 253 | OUTD((ch->qwBaseOffset>>32)&0xffffffff); | ^~~~ ../../lavtools/avilib.c:122:37: note: expected 'unsigned char *' but argument is of type 'char *' 122 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:218:30: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 218 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * ../../lavtools/avilib.c:254:5: note: in expansion of macro 'OUTD' 254 | OUTD(ch->dwReserved3); | ^~~~ ../../lavtools/avilib.c:122:37: note: expected 'unsigned char *' but argument is of type 'char *' 122 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:218:30: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 218 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * ../../lavtools/avilib.c:257:9: note: in expansion of macro 'OUTD' 257 | OUTD(ch->aIndex[k].dwOffset); | ^~~~ ../../lavtools/avilib.c:122:37: note: expected 'unsigned char *' but argument is of type 'char *' 122 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:218:30: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 218 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * ../../lavtools/avilib.c:258:9: note: in expansion of macro 'OUTD' 258 | OUTD(ch->aIndex[k].dwSize); | ^~~~ ../../lavtools/avilib.c:122:37: note: expected 'unsigned char *' but argument is of type 'char *' 122 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:261:27: warning: pointer targets in passing argument 2 of 'avi_add_chunk' differ in signedness [-Wpointer-sign] 261 | avi_add_chunk (AVI, ch->fcc, ix00, max); | ~~^~~~~ | | | char * ../../lavtools/avilib.c:186:53: note: expected 'unsigned char *' but argument is of type 'char *' 186 | static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:261:34: warning: pointer targets in passing argument 3 of 'avi_add_chunk' differ in signedness [-Wpointer-sign] 261 | avi_add_chunk (AVI, ch->fcc, ix00, max); | ^~~~ | | | char * ../../lavtools/avilib.c:186:73: note: expected 'unsigned char *' but argument is of type 'char *' 186 | static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~~ ../../lavtools/avilib.c: In function 'avi_add_odml_index_entry': ../../lavtools/avilib.c:379:26: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 379 | int audio = (strchr (tag, 'w')?1:0); | ^~~ | | | unsigned char * In file included from ../../lavtools/avilib.h:38, from ../../lavtools/avilib.c:40: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:389:43: warning: pointer targets in passing argument 2 of 'avi_init_super_index' differ in signedness [-Wpointer-sign] 389 | if (avi_init_super_index(AVI, "ix00", &AVI->video_superindex) < 0) return -1; | ^~~~~~ | | | char * ../../lavtools/avilib.c:273:60: note: expected 'unsigned char *' but argument is of type 'char *' 273 | static int avi_init_super_index(avi_t *AVI, unsigned char *idxtag, avisuperindex_chunk **si) | ~~~~~~~~~~~~~~~^~~~~~ ../../lavtools/avilib.c:393:41: warning: pointer targets in passing argument 2 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] 393 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * ../../lavtools/avilib.c:319:57: note: expected 'unsigned char *' but argument is of type 'char *' 319 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ ../../lavtools/avilib.c:393:49: warning: pointer targets in passing argument 3 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] 393 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * ../../lavtools/avilib.c:319:80: note: expected 'unsigned char *' but argument is of type 'char *' 319 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ ../../lavtools/avilib.c:407:43: warning: pointer targets in passing argument 2 of 'avi_init_super_index' differ in signedness [-Wpointer-sign] 407 | if (avi_init_super_index(AVI, fcc, &AVI->track[AVI->aptr].audio_superindex) < 0) return -1; | ^~~ | | | char * ../../lavtools/avilib.c:273:60: note: expected 'unsigned char *' but argument is of type 'char *' 273 | static int avi_init_super_index(avi_t *AVI, unsigned char *idxtag, avisuperindex_chunk **si) | ~~~~~~~~~~~~~~~^~~~~~ ../../lavtools/avilib.c:413:41: warning: pointer targets in passing argument 2 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] 413 | if (avi_add_std_index (AVI, fcc, tag, AVI->track[AVI->aptr].audio_superindex->stdindex[ | ^~~ | | | char * ../../lavtools/avilib.c:319:57: note: expected 'unsigned char *' but argument is of type 'char *' 319 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ ../../lavtools/avilib.c:454:30: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 454 | fprintf (stderr, "[avilib dump] cur_std_idx=%d NR_IXNN_CHUNKS=%d" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 455 | "POS=%lld towrite=%lld\n", 456 | cur_std_idx,NR_IXNN_CHUNKS, AVI->pos, towrite); | ~~~~~~~~ | | | off_t {aka long int} ../../lavtools/avilib.c:455:29: note: format string is defined here 455 | "POS=%lld towrite=%lld\n", | ~~~^ | | | long long int | %ld ../../lavtools/avilib.c:454:30: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'off_t' {aka 'long int'} [-Wformat=] 454 | fprintf (stderr, "[avilib dump] cur_std_idx=%d NR_IXNN_CHUNKS=%d" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 455 | "POS=%lld towrite=%lld\n", 456 | cur_std_idx,NR_IXNN_CHUNKS, AVI->pos, towrite); | ~~~~~~~ | | | off_t {aka long int} ../../lavtools/avilib.c:455:42: note: format string is defined here 455 | "POS=%lld towrite=%lld\n", | ~~~^ | | | long long int | %ld ../../lavtools/avilib.c:460:37: warning: pointer targets in passing argument 2 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] 460 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * ../../lavtools/avilib.c:319:57: note: expected 'unsigned char *' but argument is of type 'char *' 319 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ ../../lavtools/avilib.c:460:45: warning: pointer targets in passing argument 3 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] 460 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * ../../lavtools/avilib.c:319:80: note: expected 'unsigned char *' but argument is of type 'char *' 319 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ ../../lavtools/avilib.c:473:41: warning: pointer targets in passing argument 2 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] 473 | if (avi_add_std_index (AVI, fcc, aud, AVI->track[audtr].audio_superindex->stdindex[ | ^~~ | | | char * ../../lavtools/avilib.c:319:57: note: expected 'unsigned char *' but argument is of type 'char *' 319 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ ../../lavtools/avilib.c:473:46: warning: pointer targets in passing argument 3 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] 473 | if (avi_add_std_index (AVI, fcc, aud, AVI->track[audtr].audio_superindex->stdindex[ | ^~~ | | | char * ../../lavtools/avilib.c:319:80: note: expected 'unsigned char *' but argument is of type 'char *' 319 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ ../../lavtools/avilib.c:510:57: warning: pointer targets in passing argument 3 of 'avi_add_chunk' differ in signedness [-Wpointer-sign] 510 | avi_add_chunk(AVI, (unsigned char *)"RIFF", "AVIXLIST\0\0\0\0movi", 16); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * ../../lavtools/avilib.c:186:73: note: expected 'unsigned char *' but argument is of type 'char *' 186 | static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~~ ../../lavtools/avilib.c: In function 'avi_update_header': ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:763:4: note: in expansion of macro 'OUT4CC' 763 | OUT4CC ("RIFF"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:763:4: note: in expansion of macro 'OUT4CC' 763 | OUT4CC ("RIFF"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:764:4: note: in expansion of macro 'OUTLONG' 764 | OUTLONG(movi_len); // assume max size | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:764:4: note: in expansion of macro 'OUTLONG' 764 | OUTLONG(movi_len); // assume max size | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:765:4: note: in expansion of macro 'OUT4CC' 765 | OUT4CC ("AVI "); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:765:4: note: in expansion of macro 'OUT4CC' 765 | OUT4CC ("AVI "); | ^~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:769:4: note: in expansion of macro 'OUT4CC' 769 | OUT4CC ("LIST"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:769:4: note: in expansion of macro 'OUT4CC' 769 | OUT4CC ("LIST"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:770:4: note: in expansion of macro 'OUTLONG' 770 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:770:4: note: in expansion of macro 'OUTLONG' 770 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:772:4: note: in expansion of macro 'OUT4CC' 772 | OUT4CC ("hdrl"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:772:4: note: in expansion of macro 'OUT4CC' 772 | OUT4CC ("hdrl"); | ^~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:785:4: note: in expansion of macro 'OUT4CC' 785 | OUT4CC ("avih"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:785:4: note: in expansion of macro 'OUT4CC' 785 | OUT4CC ("avih"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:786:4: note: in expansion of macro 'OUTLONG' 786 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:786:4: note: in expansion of macro 'OUTLONG' 786 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:787:4: note: in expansion of macro 'OUTLONG' 787 | OUTLONG(ms_per_frame); /* Microseconds per frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:787:4: note: in expansion of macro 'OUTLONG' 787 | OUTLONG(ms_per_frame); /* Microseconds per frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:790:4: note: in expansion of macro 'OUTLONG' 790 | OUTLONG(0); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:790:4: note: in expansion of macro 'OUTLONG' 790 | OUTLONG(0); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:791:4: note: in expansion of macro 'OUTLONG' 791 | OUTLONG(0); /* PaddingGranularity (whatever that might be) */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:791:4: note: in expansion of macro 'OUTLONG' 791 | OUTLONG(0); /* PaddingGranularity (whatever that might be) */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:796:4: note: in expansion of macro 'OUTLONG' 796 | OUTLONG(flag); /* Flags */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:796:4: note: in expansion of macro 'OUTLONG' 796 | OUTLONG(flag); /* Flags */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:797:4: note: in expansion of macro 'OUTLONG' 797 | OUTLONG(0); // no frames yet | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:797:4: note: in expansion of macro 'OUTLONG' 797 | OUTLONG(0); // no frames yet | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:798:4: note: in expansion of macro 'OUTLONG' 798 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:798:4: note: in expansion of macro 'OUTLONG' 798 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:800:4: note: in expansion of macro 'OUTLONG' 800 | OUTLONG(AVI->anum+1); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:800:4: note: in expansion of macro 'OUTLONG' 800 | OUTLONG(AVI->anum+1); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:802:4: note: in expansion of macro 'OUTLONG' 802 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:802:4: note: in expansion of macro 'OUTLONG' 802 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:803:4: note: in expansion of macro 'OUTLONG' 803 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:803:4: note: in expansion of macro 'OUTLONG' 803 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:804:4: note: in expansion of macro 'OUTLONG' 804 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:804:4: note: in expansion of macro 'OUTLONG' 804 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:806:4: note: in expansion of macro 'OUTLONG' 806 | OUTLONG(0); /* TimeScale: Unit used to measure time */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:806:4: note: in expansion of macro 'OUTLONG' 806 | OUTLONG(0); /* TimeScale: Unit used to measure time */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:807:4: note: in expansion of macro 'OUTLONG' 807 | OUTLONG(0); /* DataRate: Data rate of playback */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:807:4: note: in expansion of macro 'OUTLONG' 807 | OUTLONG(0); /* DataRate: Data rate of playback */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:808:4: note: in expansion of macro 'OUTLONG' 808 | OUTLONG(0); /* StartTime: Starting time of AVI data */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:808:4: note: in expansion of macro 'OUTLONG' 808 | OUTLONG(0); /* StartTime: Starting time of AVI data */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:809:4: note: in expansion of macro 'OUTLONG' 809 | OUTLONG(0); /* DataLength: Size of AVI data chunk */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:809:4: note: in expansion of macro 'OUTLONG' 809 | OUTLONG(0); /* DataLength: Size of AVI data chunk */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:814:4: note: in expansion of macro 'OUT4CC' 814 | OUT4CC ("LIST"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:814:4: note: in expansion of macro 'OUT4CC' 814 | OUT4CC ("LIST"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:815:4: note: in expansion of macro 'OUTLONG' 815 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:815:4: note: in expansion of macro 'OUTLONG' 815 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:817:4: note: in expansion of macro 'OUT4CC' 817 | OUT4CC ("strl"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:817:4: note: in expansion of macro 'OUT4CC' 817 | OUT4CC ("strl"); | ^~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:821:4: note: in expansion of macro 'OUT4CC' 821 | OUT4CC ("strh"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:821:4: note: in expansion of macro 'OUT4CC' 821 | OUT4CC ("strh"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:822:4: note: in expansion of macro 'OUTLONG' 822 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:822:4: note: in expansion of macro 'OUTLONG' 822 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:823:4: note: in expansion of macro 'OUT4CC' 823 | OUT4CC ("vids"); /* Type */ | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:823:4: note: in expansion of macro 'OUT4CC' 823 | OUT4CC ("vids"); /* Type */ | ^~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:824:4: note: in expansion of macro 'OUT4CC' 824 | OUT4CC (AVI->compressor); /* Handler */ | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:824:4: note: in expansion of macro 'OUT4CC' 824 | OUT4CC (AVI->compressor); /* Handler */ | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:825:4: note: in expansion of macro 'OUTLONG' 825 | OUTLONG(0); /* Flags */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:825:4: note: in expansion of macro 'OUTLONG' 825 | OUTLONG(0); /* Flags */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:826:4: note: in expansion of macro 'OUTLONG' 826 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:826:4: note: in expansion of macro 'OUTLONG' 826 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:827:4: note: in expansion of macro 'OUTLONG' 827 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:827:4: note: in expansion of macro 'OUTLONG' 827 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:828:4: note: in expansion of macro 'OUTLONG' 828 | OUTLONG(FRAME_RATE_SCALE); /* Scale */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:828:4: note: in expansion of macro 'OUTLONG' 828 | OUTLONG(FRAME_RATE_SCALE); /* Scale */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:829:4: note: in expansion of macro 'OUTLONG' 829 | OUTLONG(frate); /* Rate: Rate/Scale == samples/second */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:829:4: note: in expansion of macro 'OUTLONG' 829 | OUTLONG(frate); /* Rate: Rate/Scale == samples/second */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:830:4: note: in expansion of macro 'OUTLONG' 830 | OUTLONG(0); /* Start */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:830:4: note: in expansion of macro 'OUTLONG' 830 | OUTLONG(0); /* Start */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:831:4: note: in expansion of macro 'OUTLONG' 831 | OUTLONG(0); // no frames yet | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:831:4: note: in expansion of macro 'OUTLONG' 831 | OUTLONG(0); // no frames yet | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:832:4: note: in expansion of macro 'OUTLONG' 832 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:832:4: note: in expansion of macro 'OUTLONG' 832 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:833:4: note: in expansion of macro 'OUTLONG' 833 | OUTLONG(-1); /* Quality */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:833:4: note: in expansion of macro 'OUTLONG' 833 | OUTLONG(-1); /* Quality */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:834:4: note: in expansion of macro 'OUTLONG' 834 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:834:4: note: in expansion of macro 'OUTLONG' 834 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:835:4: note: in expansion of macro 'OUTLONG' 835 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:835:4: note: in expansion of macro 'OUTLONG' 835 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:836:4: note: in expansion of macro 'OUTLONG' 836 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:836:4: note: in expansion of macro 'OUTLONG' 836 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:845:4: note: in expansion of macro 'OUT4CC' 845 | OUT4CC ("strf"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:845:4: note: in expansion of macro 'OUT4CC' 845 | OUT4CC ("strf"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:846:4: note: in expansion of macro 'OUTLONG' 846 | OUTLONG(40 + xd_size_align2);/* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:846:4: note: in expansion of macro 'OUTLONG' 846 | OUTLONG(40 + xd_size_align2);/* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:847:4: note: in expansion of macro 'OUTLONG' 847 | OUTLONG(40 + xd_size); /* Size */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:847:4: note: in expansion of macro 'OUTLONG' 847 | OUTLONG(40 + xd_size); /* Size */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:848:4: note: in expansion of macro 'OUTLONG' 848 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:848:4: note: in expansion of macro 'OUTLONG' 848 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:849:4: note: in expansion of macro 'OUTLONG' 849 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:849:4: note: in expansion of macro 'OUTLONG' 849 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:851:4: note: in expansion of macro 'OUT4CC' 851 | OUT4CC (AVI->compressor); /* Compression */ | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:851:4: note: in expansion of macro 'OUT4CC' 851 | OUT4CC (AVI->compressor); /* Compression */ | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:853:4: note: in expansion of macro 'OUTLONG' 853 | OUTLONG(AVI->width*AVI->height*3); /* SizeImage (in bytes?) */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:853:4: note: in expansion of macro 'OUTLONG' 853 | OUTLONG(AVI->width*AVI->height*3); /* SizeImage (in bytes?) */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:854:4: note: in expansion of macro 'OUTLONG' 854 | OUTLONG(0); /* XPelsPerMeter */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:854:4: note: in expansion of macro 'OUTLONG' 854 | OUTLONG(0); /* XPelsPerMeter */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:855:4: note: in expansion of macro 'OUTLONG' 855 | OUTLONG(0); /* YPelsPerMeter */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:855:4: note: in expansion of macro 'OUTLONG' 855 | OUTLONG(0); /* YPelsPerMeter */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:856:4: note: in expansion of macro 'OUTLONG' 856 | OUTLONG(0); /* ClrUsed: Number of colors used */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:856:4: note: in expansion of macro 'OUTLONG' 856 | OUTLONG(0); /* ClrUsed: Number of colors used */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:857:4: note: in expansion of macro 'OUTLONG' 857 | OUTLONG(0); /* ClrImportant: Number of colors important */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:857:4: note: in expansion of macro 'OUTLONG' 857 | OUTLONG(0); /* ClrImportant: Number of colors important */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:878:8: note: in expansion of macro 'OUT4CC' 878 | OUT4CC ("LIST"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:878:8: note: in expansion of macro 'OUT4CC' 878 | OUT4CC ("LIST"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:879:8: note: in expansion of macro 'OUTLONG' 879 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:879:8: note: in expansion of macro 'OUTLONG' 879 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:881:8: note: in expansion of macro 'OUT4CC' 881 | OUT4CC ("strl"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:881:8: note: in expansion of macro 'OUT4CC' 881 | OUT4CC ("strl"); | ^~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:885:8: note: in expansion of macro 'OUT4CC' 885 | OUT4CC ("strh"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:885:8: note: in expansion of macro 'OUT4CC' 885 | OUT4CC ("strh"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:886:8: note: in expansion of macro 'OUTLONG' 886 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:886:8: note: in expansion of macro 'OUTLONG' 886 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:887:8: note: in expansion of macro 'OUT4CC' 887 | OUT4CC ("auds"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:887:8: note: in expansion of macro 'OUT4CC' 887 | OUT4CC ("auds"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:891:8: note: in expansion of macro 'OUTLONG' 891 | OUTLONG(0); /* Format (Optionally) */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:891:8: note: in expansion of macro 'OUTLONG' 891 | OUTLONG(0); /* Format (Optionally) */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:894:8: note: in expansion of macro 'OUTLONG' 894 | OUTLONG(0); /* Flags */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:894:8: note: in expansion of macro 'OUTLONG' 894 | OUTLONG(0); /* Flags */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:895:8: note: in expansion of macro 'OUTLONG' 895 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:895:8: note: in expansion of macro 'OUTLONG' 895 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:896:8: note: in expansion of macro 'OUTLONG' 896 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:896:8: note: in expansion of macro 'OUTLONG' 896 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:899:8: note: in expansion of macro 'OUTLONG' 899 | OUTLONG(sampsize/4); /* Scale */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:899:8: note: in expansion of macro 'OUTLONG' 899 | OUTLONG(sampsize/4); /* Scale */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:900:8: note: in expansion of macro 'OUTLONG' 900 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:900:8: note: in expansion of macro 'OUTLONG' 900 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:901:8: note: in expansion of macro 'OUTLONG' 901 | OUTLONG(0); /* Start */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:901:8: note: in expansion of macro 'OUTLONG' 901 | OUTLONG(0); /* Start */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:902:8: note: in expansion of macro 'OUTLONG' 902 | OUTLONG(4*AVI->track[j].audio_bytes/sampsize); /* Length */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:902:8: note: in expansion of macro 'OUTLONG' 902 | OUTLONG(4*AVI->track[j].audio_bytes/sampsize); /* Length */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:903:8: note: in expansion of macro 'OUTLONG' 903 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:903:8: note: in expansion of macro 'OUTLONG' 903 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:904:8: note: in expansion of macro 'OUTLONG' 904 | OUTLONG(-1); /* Quality */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:904:8: note: in expansion of macro 'OUTLONG' 904 | OUTLONG(-1); /* Quality */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:907:8: note: in expansion of macro 'OUTLONG' 907 | OUTLONG(sampsize/4); /* SampleSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:907:8: note: in expansion of macro 'OUTLONG' 907 | OUTLONG(sampsize/4); /* SampleSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:909:8: note: in expansion of macro 'OUTLONG' 909 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:909:8: note: in expansion of macro 'OUTLONG' 909 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:910:8: note: in expansion of macro 'OUTLONG' 910 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:910:8: note: in expansion of macro 'OUTLONG' 910 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:916:8: note: in expansion of macro 'OUT4CC' 916 | OUT4CC ("strf"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:916:8: note: in expansion of macro 'OUT4CC' 916 | OUT4CC ("strf"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:917:8: note: in expansion of macro 'OUTLONG' 917 | OUTLONG(16); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:917:8: note: in expansion of macro 'OUTLONG' 917 | OUTLONG(16); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:920:8: note: in expansion of macro 'OUTLONG' 920 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:920:8: note: in expansion of macro 'OUTLONG' 920 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:922:8: note: in expansion of macro 'OUTLONG' 922 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:922:8: note: in expansion of macro 'OUTLONG' 922 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:954:4: note: in expansion of macro 'OUT4CC' 954 | OUT4CC ("JUNK"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:954:4: note: in expansion of macro 'OUT4CC' 954 | OUT4CC ("JUNK"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:955:4: note: in expansion of macro 'OUTLONG' 955 | OUTLONG(njunk); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:955:4: note: in expansion of macro 'OUTLONG' 955 | OUTLONG(njunk); | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:962:4: note: in expansion of macro 'OUT4CC' 962 | OUT4CC ("LIST"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:962:4: note: in expansion of macro 'OUT4CC' 962 | OUT4CC ("LIST"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:963:4: note: in expansion of macro 'OUTLONG' 963 | OUTLONG(movi_len); /* Length of list in bytes */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:963:4: note: in expansion of macro 'OUTLONG' 963 | OUTLONG(movi_len); /* Length of list in bytes */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:964:4: note: in expansion of macro 'OUT4CC' 964 | OUT4CC ("movi"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:964:4: note: in expansion of macro 'OUT4CC' 964 | OUT4CC ("movi"); | ^~~~~~ ../../lavtools/avilib.c: In function 'avi_parse_comments': ../../lavtools/avilib.c:1082:25: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 1082 | long2str(buf+len, k+1); len += 4; | ~~~^~~~ | | | char * ../../lavtools/avilib.c:122:37: note: expected 'unsigned char *' but argument is of type 'char *' 122 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:1012:16: warning: variable 'readlen' set but not used [-Wunused-but-set-variable] 1012 | int len=0, readlen=0, k; | ^~~~~~~ ../../lavtools/avilib.c: In function 'avi_close_output_file': ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1232:4: note: in expansion of macro 'OUT4CC' 1232 | OUT4CC ("RIFF"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1232:4: note: in expansion of macro 'OUT4CC' 1232 | OUT4CC ("RIFF"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1234:8: note: in expansion of macro 'OUTLONG' 1234 | OUTLONG(AVI->video_superindex->stdindex[ 1 ]->qwBaseOffset - 8); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1234:8: note: in expansion of macro 'OUTLONG' 1234 | OUTLONG(AVI->video_superindex->stdindex[ 1 ]->qwBaseOffset - 8); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1236:8: note: in expansion of macro 'OUTLONG' 1236 | OUTLONG(AVI->pos - 8); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1236:8: note: in expansion of macro 'OUTLONG' 1236 | OUTLONG(AVI->pos - 8); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1239:4: note: in expansion of macro 'OUT4CC' 1239 | OUT4CC ("AVI "); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1239:4: note: in expansion of macro 'OUT4CC' 1239 | OUT4CC ("AVI "); | ^~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1243:4: note: in expansion of macro 'OUT4CC' 1243 | OUT4CC ("LIST"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1243:4: note: in expansion of macro 'OUT4CC' 1243 | OUT4CC ("LIST"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1244:4: note: in expansion of macro 'OUTLONG' 1244 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1244:4: note: in expansion of macro 'OUTLONG' 1244 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1246:4: note: in expansion of macro 'OUT4CC' 1246 | OUT4CC ("hdrl"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1246:4: note: in expansion of macro 'OUT4CC' 1246 | OUT4CC ("hdrl"); | ^~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1259:4: note: in expansion of macro 'OUT4CC' 1259 | OUT4CC ("avih"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1259:4: note: in expansion of macro 'OUT4CC' 1259 | OUT4CC ("avih"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1260:4: note: in expansion of macro 'OUTLONG' 1260 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1260:4: note: in expansion of macro 'OUTLONG' 1260 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1261:4: note: in expansion of macro 'OUTLONG' 1261 | OUTLONG(ms_per_frame); /* Microseconds per frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1261:4: note: in expansion of macro 'OUTLONG' 1261 | OUTLONG(ms_per_frame); /* Microseconds per frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1264:4: note: in expansion of macro 'OUTLONG' 1264 | OUTLONG(0); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1264:4: note: in expansion of macro 'OUTLONG' 1264 | OUTLONG(0); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1265:4: note: in expansion of macro 'OUTLONG' 1265 | OUTLONG(0); /* PaddingGranularity (whatever that might be) */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1265:4: note: in expansion of macro 'OUTLONG' 1265 | OUTLONG(0); /* PaddingGranularity (whatever that might be) */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1270:4: note: in expansion of macro 'OUTLONG' 1270 | OUTLONG(flag); /* Flags */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1270:4: note: in expansion of macro 'OUTLONG' 1270 | OUTLONG(flag); /* Flags */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1271:4: note: in expansion of macro 'OUTLONG' 1271 | OUTLONG(AVI->video_frames); /* TotalFrames */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1271:4: note: in expansion of macro 'OUTLONG' 1271 | OUTLONG(AVI->video_frames); /* TotalFrames */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1272:4: note: in expansion of macro 'OUTLONG' 1272 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1272:4: note: in expansion of macro 'OUTLONG' 1272 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1274:4: note: in expansion of macro 'OUTLONG' 1274 | OUTLONG(AVI->anum+1); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1274:4: note: in expansion of macro 'OUTLONG' 1274 | OUTLONG(AVI->anum+1); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1280:4: note: in expansion of macro 'OUTLONG' 1280 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1280:4: note: in expansion of macro 'OUTLONG' 1280 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1281:4: note: in expansion of macro 'OUTLONG' 1281 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1281:4: note: in expansion of macro 'OUTLONG' 1281 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1282:4: note: in expansion of macro 'OUTLONG' 1282 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1282:4: note: in expansion of macro 'OUTLONG' 1282 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1284:4: note: in expansion of macro 'OUTLONG' 1284 | OUTLONG(0); /* TimeScale: Unit used to measure time */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1284:4: note: in expansion of macro 'OUTLONG' 1284 | OUTLONG(0); /* TimeScale: Unit used to measure time */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1285:4: note: in expansion of macro 'OUTLONG' 1285 | OUTLONG(0); /* DataRate: Data rate of playback */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1285:4: note: in expansion of macro 'OUTLONG' 1285 | OUTLONG(0); /* DataRate: Data rate of playback */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1286:4: note: in expansion of macro 'OUTLONG' 1286 | OUTLONG(0); /* StartTime: Starting time of AVI data */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1286:4: note: in expansion of macro 'OUTLONG' 1286 | OUTLONG(0); /* StartTime: Starting time of AVI data */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1287:4: note: in expansion of macro 'OUTLONG' 1287 | OUTLONG(0); /* DataLength: Size of AVI data chunk */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1287:4: note: in expansion of macro 'OUTLONG' 1287 | OUTLONG(0); /* DataLength: Size of AVI data chunk */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1292:4: note: in expansion of macro 'OUT4CC' 1292 | OUT4CC ("LIST"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1292:4: note: in expansion of macro 'OUT4CC' 1292 | OUT4CC ("LIST"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1293:4: note: in expansion of macro 'OUTLONG' 1293 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1293:4: note: in expansion of macro 'OUTLONG' 1293 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1295:4: note: in expansion of macro 'OUT4CC' 1295 | OUT4CC ("strl"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1295:4: note: in expansion of macro 'OUT4CC' 1295 | OUT4CC ("strl"); | ^~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1299:4: note: in expansion of macro 'OUT4CC' 1299 | OUT4CC ("strh"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1299:4: note: in expansion of macro 'OUT4CC' 1299 | OUT4CC ("strh"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1300:4: note: in expansion of macro 'OUTLONG' 1300 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1300:4: note: in expansion of macro 'OUTLONG' 1300 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1301:4: note: in expansion of macro 'OUT4CC' 1301 | OUT4CC ("vids"); /* Type */ | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1301:4: note: in expansion of macro 'OUT4CC' 1301 | OUT4CC ("vids"); /* Type */ | ^~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1302:4: note: in expansion of macro 'OUT4CC' 1302 | OUT4CC (AVI->compressor); /* Handler */ | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1302:4: note: in expansion of macro 'OUT4CC' 1302 | OUT4CC (AVI->compressor); /* Handler */ | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1303:4: note: in expansion of macro 'OUTLONG' 1303 | OUTLONG(0); /* Flags */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1303:4: note: in expansion of macro 'OUTLONG' 1303 | OUTLONG(0); /* Flags */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1304:4: note: in expansion of macro 'OUTLONG' 1304 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1304:4: note: in expansion of macro 'OUTLONG' 1304 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1305:4: note: in expansion of macro 'OUTLONG' 1305 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1305:4: note: in expansion of macro 'OUTLONG' 1305 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1306:4: note: in expansion of macro 'OUTLONG' 1306 | OUTLONG(FRAME_RATE_SCALE); /* Scale */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1306:4: note: in expansion of macro 'OUTLONG' 1306 | OUTLONG(FRAME_RATE_SCALE); /* Scale */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1307:4: note: in expansion of macro 'OUTLONG' 1307 | OUTLONG(frate); /* Rate: Rate/Scale == samples/second */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1307:4: note: in expansion of macro 'OUTLONG' 1307 | OUTLONG(frate); /* Rate: Rate/Scale == samples/second */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1308:4: note: in expansion of macro 'OUTLONG' 1308 | OUTLONG(0); /* Start */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1308:4: note: in expansion of macro 'OUTLONG' 1308 | OUTLONG(0); /* Start */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1309:4: note: in expansion of macro 'OUTLONG' 1309 | OUTLONG(AVI->video_frames); /* Length */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1309:4: note: in expansion of macro 'OUTLONG' 1309 | OUTLONG(AVI->video_frames); /* Length */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1310:4: note: in expansion of macro 'OUTLONG' 1310 | OUTLONG(AVI->max_len); /* SuggestedBufferSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1310:4: note: in expansion of macro 'OUTLONG' 1310 | OUTLONG(AVI->max_len); /* SuggestedBufferSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1311:4: note: in expansion of macro 'OUTLONG' 1311 | OUTLONG(0); /* Quality */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1311:4: note: in expansion of macro 'OUTLONG' 1311 | OUTLONG(0); /* Quality */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1312:4: note: in expansion of macro 'OUTLONG' 1312 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1312:4: note: in expansion of macro 'OUTLONG' 1312 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1313:4: note: in expansion of macro 'OUTLONG' 1313 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1313:4: note: in expansion of macro 'OUTLONG' 1313 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1314:4: note: in expansion of macro 'OUTLONG' 1314 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1314:4: note: in expansion of macro 'OUTLONG' 1314 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1323:4: note: in expansion of macro 'OUT4CC' 1323 | OUT4CC ("strf"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1323:4: note: in expansion of macro 'OUT4CC' 1323 | OUT4CC ("strf"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1324:4: note: in expansion of macro 'OUTLONG' 1324 | OUTLONG(40 + xd_size_align2);/* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1324:4: note: in expansion of macro 'OUTLONG' 1324 | OUTLONG(40 + xd_size_align2);/* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1325:4: note: in expansion of macro 'OUTLONG' 1325 | OUTLONG(40 + xd_size); /* Size */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1325:4: note: in expansion of macro 'OUTLONG' 1325 | OUTLONG(40 + xd_size); /* Size */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1326:4: note: in expansion of macro 'OUTLONG' 1326 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1326:4: note: in expansion of macro 'OUTLONG' 1326 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1327:4: note: in expansion of macro 'OUTLONG' 1327 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1327:4: note: in expansion of macro 'OUTLONG' 1327 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1329:4: note: in expansion of macro 'OUT4CC' 1329 | OUT4CC (AVI->compressor); /* Compression */ | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1329:4: note: in expansion of macro 'OUT4CC' 1329 | OUT4CC (AVI->compressor); /* Compression */ | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1331:4: note: in expansion of macro 'OUTLONG' 1331 | OUTLONG(AVI->width*AVI->height*3); /* SizeImage (in bytes?) */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1331:4: note: in expansion of macro 'OUTLONG' 1331 | OUTLONG(AVI->width*AVI->height*3); /* SizeImage (in bytes?) */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1332:4: note: in expansion of macro 'OUTLONG' 1332 | OUTLONG(0); /* XPelsPerMeter */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1332:4: note: in expansion of macro 'OUTLONG' 1332 | OUTLONG(0); /* XPelsPerMeter */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1333:4: note: in expansion of macro 'OUTLONG' 1333 | OUTLONG(0); /* YPelsPerMeter */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1333:4: note: in expansion of macro 'OUTLONG' 1333 | OUTLONG(0); /* YPelsPerMeter */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1334:4: note: in expansion of macro 'OUTLONG' 1334 | OUTLONG(0); /* ClrUsed: Number of colors used */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1334:4: note: in expansion of macro 'OUTLONG' 1334 | OUTLONG(0); /* ClrUsed: Number of colors used */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1335:4: note: in expansion of macro 'OUTLONG' 1335 | OUTLONG(0); /* ClrImportant: Number of colors important */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1335:4: note: in expansion of macro 'OUTLONG' 1335 | OUTLONG(0); /* ClrImportant: Number of colors important */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1350:8: note: in expansion of macro 'OUT4CC' 1350 | OUT4CC(AVI->video_superindex->fcc); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1350:8: note: in expansion of macro 'OUT4CC' 1350 | OUT4CC(AVI->video_superindex->fcc); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1351:8: note: in expansion of macro 'OUTLONG' 1351 | OUTLONG(2+1+1+4+4+3*4 + AVI->video_superindex->nEntriesInUse * (8+4+4)); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1351:8: note: in expansion of macro 'OUTLONG' 1351 | OUTLONG(2+1+1+4+4+3*4 + AVI->video_superindex->nEntriesInUse * (8+4+4)); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1355:8: note: in expansion of macro 'OUTLONG' 1355 | OUTLONG(AVI->video_superindex->nEntriesInUse); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1355:8: note: in expansion of macro 'OUTLONG' 1355 | OUTLONG(AVI->video_superindex->nEntriesInUse); | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1356:8: note: in expansion of macro 'OUT4CC' 1356 | OUT4CC(AVI->video_superindex->dwChunkId); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1356:8: note: in expansion of macro 'OUT4CC' 1356 | OUT4CC(AVI->video_superindex->dwChunkId); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1357:8: note: in expansion of macro 'OUTLONG' 1357 | OUTLONG(0); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1357:8: note: in expansion of macro 'OUTLONG' 1357 | OUTLONG(0); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1358:8: note: in expansion of macro 'OUTLONG' 1358 | OUTLONG(0); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1358:8: note: in expansion of macro 'OUTLONG' 1358 | OUTLONG(0); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1359:8: note: in expansion of macro 'OUTLONG' 1359 | OUTLONG(0); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1359:8: note: in expansion of macro 'OUTLONG' 1359 | OUTLONG(0); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1379:12: note: in expansion of macro 'OUTLONG' 1379 | OUTLONG(s); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1379:12: note: in expansion of macro 'OUTLONG' 1379 | OUTLONG(s); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1380:12: note: in expansion of macro 'OUTLONG' 1380 | OUTLONG(r); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1380:12: note: in expansion of macro 'OUTLONG' 1380 | OUTLONG(r); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1381:12: note: in expansion of macro 'OUTLONG' 1381 | OUTLONG(AVI->video_superindex->aIndex[k].dwSize); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1381:12: note: in expansion of macro 'OUTLONG' 1381 | OUTLONG(AVI->video_superindex->aIndex[k].dwSize); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1382:12: note: in expansion of macro 'OUTLONG' 1382 | OUTLONG(AVI->video_superindex->aIndex[k].dwDuration); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1382:12: note: in expansion of macro 'OUTLONG' 1382 | OUTLONG(AVI->video_superindex->aIndex[k].dwDuration); | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1421:10: note: in expansion of macro 'OUT4CC' 1421 | OUT4CC ("LIST"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1421:10: note: in expansion of macro 'OUT4CC' 1421 | OUT4CC ("LIST"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1422:10: note: in expansion of macro 'OUTLONG' 1422 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1422:10: note: in expansion of macro 'OUTLONG' 1422 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1424:10: note: in expansion of macro 'OUT4CC' 1424 | OUT4CC ("strl"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1424:10: note: in expansion of macro 'OUT4CC' 1424 | OUT4CC ("strl"); | ^~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1428:10: note: in expansion of macro 'OUT4CC' 1428 | OUT4CC ("strh"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1428:10: note: in expansion of macro 'OUT4CC' 1428 | OUT4CC ("strh"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1429:10: note: in expansion of macro 'OUTLONG' 1429 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1429:10: note: in expansion of macro 'OUTLONG' 1429 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1430:10: note: in expansion of macro 'OUT4CC' 1430 | OUT4CC ("auds"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1430:10: note: in expansion of macro 'OUT4CC' 1430 | OUT4CC ("auds"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1434:10: note: in expansion of macro 'OUTLONG' 1434 | OUTLONG(0); /* Format (Optionally) */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1434:10: note: in expansion of macro 'OUTLONG' 1434 | OUTLONG(0); /* Format (Optionally) */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1437:10: note: in expansion of macro 'OUTLONG' 1437 | OUTLONG(0); /* Flags */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1437:10: note: in expansion of macro 'OUTLONG' 1437 | OUTLONG(0); /* Flags */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1438:10: note: in expansion of macro 'OUTLONG' 1438 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1438:10: note: in expansion of macro 'OUTLONG' 1438 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1439:10: note: in expansion of macro 'OUTLONG' 1439 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1439:10: note: in expansion of macro 'OUTLONG' 1439 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1443:14: note: in expansion of macro 'OUTLONG' 1443 | OUTLONG(nBlockAlign); /* Scale */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1443:14: note: in expansion of macro 'OUTLONG' 1443 | OUTLONG(nBlockAlign); /* Scale */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1444:14: note: in expansion of macro 'OUTLONG' 1444 | OUTLONG(AVI->track[j].a_rate); /* Rate */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1444:14: note: in expansion of macro 'OUTLONG' 1444 | OUTLONG(AVI->track[j].a_rate); /* Rate */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1445:14: note: in expansion of macro 'OUTLONG' 1445 | OUTLONG(0); /* Start */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1445:14: note: in expansion of macro 'OUTLONG' 1445 | OUTLONG(0); /* Start */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1446:14: note: in expansion of macro 'OUTLONG' 1446 | OUTLONG(AVI->track[j].audio_chunks); /* Length */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1446:14: note: in expansion of macro 'OUTLONG' 1446 | OUTLONG(AVI->track[j].audio_chunks); /* Length */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1447:14: note: in expansion of macro 'OUTLONG' 1447 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1447:14: note: in expansion of macro 'OUTLONG' 1447 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1448:14: note: in expansion of macro 'OUTLONG' 1448 | OUTLONG(0); /* Quality */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1448:14: note: in expansion of macro 'OUTLONG' 1448 | OUTLONG(0); /* Quality */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1449:14: note: in expansion of macro 'OUTLONG' 1449 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1449:14: note: in expansion of macro 'OUTLONG' 1449 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1450:14: note: in expansion of macro 'OUTLONG' 1450 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1450:14: note: in expansion of macro 'OUTLONG' 1450 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1451:14: note: in expansion of macro 'OUTLONG' 1451 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1451:14: note: in expansion of macro 'OUTLONG' 1451 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1453:14: note: in expansion of macro 'OUTLONG' 1453 | OUTLONG(sampsize/4); /* Scale */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1453:14: note: in expansion of macro 'OUTLONG' 1453 | OUTLONG(sampsize/4); /* Scale */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1454:14: note: in expansion of macro 'OUTLONG' 1454 | OUTLONG(scalerate); /* Rate */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1454:14: note: in expansion of macro 'OUTLONG' 1454 | OUTLONG(scalerate); /* Rate */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1455:14: note: in expansion of macro 'OUTLONG' 1455 | OUTLONG(0); /* Start */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1455:14: note: in expansion of macro 'OUTLONG' 1455 | OUTLONG(0); /* Start */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1456:14: note: in expansion of macro 'OUTLONG' 1456 | OUTLONG(4*AVI->track[j].audio_bytes/sampsize); /* Length */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1456:14: note: in expansion of macro 'OUTLONG' 1456 | OUTLONG(4*AVI->track[j].audio_bytes/sampsize); /* Length */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1457:14: note: in expansion of macro 'OUTLONG' 1457 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1457:14: note: in expansion of macro 'OUTLONG' 1457 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1458:14: note: in expansion of macro 'OUTLONG' 1458 | OUTLONG(0xffffffff); /* Quality */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1458:14: note: in expansion of macro 'OUTLONG' 1458 | OUTLONG(0xffffffff); /* Quality */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1459:14: note: in expansion of macro 'OUTLONG' 1459 | OUTLONG(sampsize/4); /* SampleSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1459:14: note: in expansion of macro 'OUTLONG' 1459 | OUTLONG(sampsize/4); /* SampleSize */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1460:14: note: in expansion of macro 'OUTLONG' 1460 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1460:14: note: in expansion of macro 'OUTLONG' 1460 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1461:14: note: in expansion of macro 'OUTLONG' 1461 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1461:14: note: in expansion of macro 'OUTLONG' 1461 | OUTLONG(0); /* Frame */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1466:10: note: in expansion of macro 'OUT4CC' 1466 | OUT4CC ("strf"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1466:10: note: in expansion of macro 'OUT4CC' 1466 | OUT4CC ("strf"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1470:14: note: in expansion of macro 'OUTLONG' 1470 | OUTLONG(30); /* # of bytes to follow */ // mplayer writes 28 | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1470:14: note: in expansion of macro 'OUTLONG' 1470 | OUTLONG(30); /* # of bytes to follow */ // mplayer writes 28 | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1473:14: note: in expansion of macro 'OUTLONG' 1473 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ // 4 | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1473:14: note: in expansion of macro 'OUTLONG' 1473 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ // 4 | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1475:14: note: in expansion of macro 'OUTLONG' 1475 | OUTLONG(1000*AVI->track[j].mp3rate/8); /* maybe we should write an avg. */ // 4 | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1475:14: note: in expansion of macro 'OUTLONG' 1475 | OUTLONG(1000*AVI->track[j].mp3rate/8); /* maybe we should write an avg. */ // 4 | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1481:14: note: in expansion of macro 'OUTLONG' 1481 | OUTLONG(2); /* fdwFlags */ // 4 | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1481:14: note: in expansion of macro 'OUTLONG' 1481 | OUTLONG(2); /* fdwFlags */ // 4 | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1488:14: note: in expansion of macro 'OUTLONG' 1488 | OUTLONG(30); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1488:14: note: in expansion of macro 'OUTLONG' 1488 | OUTLONG(30); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1491:14: note: in expansion of macro 'OUTLONG' 1491 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1491:14: note: in expansion of macro 'OUTLONG' 1491 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1493:14: note: in expansion of macro 'OUTLONG' 1493 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1493:14: note: in expansion of macro 'OUTLONG' 1493 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1499:14: note: in expansion of macro 'OUTLONG' 1499 | OUTLONG(2); /* fdwFlags */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1499:14: note: in expansion of macro 'OUTLONG' 1499 | OUTLONG(2); /* fdwFlags */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1506:14: note: in expansion of macro 'OUTLONG' 1506 | OUTLONG(18); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1506:14: note: in expansion of macro 'OUTLONG' 1506 | OUTLONG(18); /* # of bytes to follow */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1509:14: note: in expansion of macro 'OUTLONG' 1509 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1509:14: note: in expansion of macro 'OUTLONG' 1509 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1511:14: note: in expansion of macro 'OUTLONG' 1511 | OUTLONG(avgbsec); /* Avg bytes/sec */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1511:14: note: in expansion of macro 'OUTLONG' 1511 | OUTLONG(avgbsec); /* Avg bytes/sec */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1527:12: note: in expansion of macro 'OUT4CC' 1527 | OUT4CC(AVI->track[j].audio_superindex->fcc); /* "indx" */ | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1527:12: note: in expansion of macro 'OUT4CC' 1527 | OUT4CC(AVI->track[j].audio_superindex->fcc); /* "indx" */ | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1528:12: note: in expansion of macro 'OUTLONG' 1528 | OUTLONG(2+1+1+4+4+3*4 + AVI->track[j].audio_superindex->nEntriesInUse * (8+4+4)); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1528:12: note: in expansion of macro 'OUTLONG' 1528 | OUTLONG(2+1+1+4+4+3*4 + AVI->track[j].audio_superindex->nEntriesInUse * (8+4+4)); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1532:12: note: in expansion of macro 'OUTLONG' 1532 | OUTLONG(AVI->track[j].audio_superindex->nEntriesInUse); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1532:12: note: in expansion of macro 'OUTLONG' 1532 | OUTLONG(AVI->track[j].audio_superindex->nEntriesInUse); | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1533:12: note: in expansion of macro 'OUT4CC' 1533 | OUT4CC(AVI->track[j].audio_superindex->dwChunkId); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1533:12: note: in expansion of macro 'OUT4CC' 1533 | OUT4CC(AVI->track[j].audio_superindex->dwChunkId); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1534:12: note: in expansion of macro 'OUTLONG' 1534 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1534:12: note: in expansion of macro 'OUTLONG' 1534 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1534:24: note: in expansion of macro 'OUTLONG' 1534 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1534:24: note: in expansion of macro 'OUTLONG' 1534 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1534:36: note: in expansion of macro 'OUTLONG' 1534 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1534:36: note: in expansion of macro 'OUTLONG' 1534 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1551:16: note: in expansion of macro 'OUTLONG' 1551 | OUTLONG(s); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1551:16: note: in expansion of macro 'OUTLONG' 1551 | OUTLONG(s); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1552:16: note: in expansion of macro 'OUTLONG' 1552 | OUTLONG(r); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1552:16: note: in expansion of macro 'OUTLONG' 1552 | OUTLONG(r); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1553:16: note: in expansion of macro 'OUTLONG' 1553 | OUTLONG(AVI->track[j].audio_superindex->aIndex[k].dwSize); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1553:16: note: in expansion of macro 'OUTLONG' 1553 | OUTLONG(AVI->track[j].audio_superindex->aIndex[k].dwSize); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1554:16: note: in expansion of macro 'OUTLONG' 1554 | OUTLONG(AVI->track[j].audio_superindex->aIndex[k].dwDuration); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1554:16: note: in expansion of macro 'OUTLONG' 1554 | OUTLONG(AVI->track[j].audio_superindex->aIndex[k].dwDuration); | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1562:8: note: in expansion of macro 'OUT4CC' 1562 | OUT4CC("LIST"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1562:8: note: in expansion of macro 'OUT4CC' 1562 | OUT4CC("LIST"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1563:8: note: in expansion of macro 'OUTLONG' 1563 | OUTLONG(16); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1563:8: note: in expansion of macro 'OUTLONG' 1563 | OUTLONG(16); | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1564:8: note: in expansion of macro 'OUT4CC' 1564 | OUT4CC("odml"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1564:8: note: in expansion of macro 'OUT4CC' 1564 | OUT4CC("odml"); | ^~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1565:8: note: in expansion of macro 'OUT4CC' 1565 | OUT4CC("dmlh"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1565:8: note: in expansion of macro 'OUT4CC' 1565 | OUT4CC("dmlh"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1566:8: note: in expansion of macro 'OUTLONG' 1566 | OUTLONG(4); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1566:8: note: in expansion of macro 'OUTLONG' 1566 | OUTLONG(4); | ^~~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1567:8: note: in expansion of macro 'OUTLONG' 1567 | OUTLONG(AVI->total_frames); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1567:8: note: in expansion of macro 'OUTLONG' 1567 | OUTLONG(AVI->total_frames); | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1578:4: note: in expansion of macro 'OUT4CC' 1578 | OUT4CC ("LIST"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1578:4: note: in expansion of macro 'OUT4CC' 1578 | OUT4CC ("LIST"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1582:4: note: in expansion of macro 'OUTLONG' 1582 | OUTLONG(info_len); // rewritten later | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1582:4: note: in expansion of macro 'OUTLONG' 1582 | OUTLONG(info_len); // rewritten later | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1583:4: note: in expansion of macro 'OUT4CC' 1583 | OUT4CC ("INFO"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1583:4: note: in expansion of macro 'OUT4CC' 1583 | OUT4CC ("INFO"); | ^~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1585:4: note: in expansion of macro 'OUT4CC' 1585 | OUT4CC ("ISFT"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1585:4: note: in expansion of macro 'OUT4CC' 1585 | OUT4CC ("ISFT"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1593:4: note: in expansion of macro 'OUTLONG' 1593 | OUTLONG(real_id_len); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1593:4: note: in expansion of macro 'OUTLONG' 1593 | OUTLONG(real_id_len); | ^~~~~~~ ../../lavtools/avilib.c:1599:62: warning: pointer targets in passing argument 2 of 'avi_parse_comments' differ in signedness [-Wpointer-sign] 1599 | info_len = avi_parse_comments (AVI->comment_fd, AVI_header+nhb, HEADERBYTES - nhb - 8 - 12); | ~~~~~~~~~~^~~~ | | | unsigned char * ../../lavtools/avilib.c:1010:46: note: expected 'char *' but argument is of type 'unsigned char *' 1010 | static int avi_parse_comments (int fd, char *buf, int space_left) | ~~~~~~^~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1633:4: note: in expansion of macro 'OUT4CC' 1633 | OUT4CC ("JUNK"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1633:4: note: in expansion of macro 'OUT4CC' 1633 | OUT4CC ("JUNK"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1634:4: note: in expansion of macro 'OUTLONG' 1634 | OUTLONG(njunk); | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1634:4: note: in expansion of macro 'OUTLONG' 1634 | OUTLONG(njunk); | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1641:4: note: in expansion of macro 'OUT4CC' 1641 | OUT4CC ("LIST"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1641:4: note: in expansion of macro 'OUT4CC' 1641 | OUT4CC ("LIST"); | ^~~~~~ ../../lavtools/avilib.c:710:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ ../../lavtools/avilib.c:1642:4: note: in expansion of macro 'OUTLONG' 1642 | OUTLONG(movi_len); /* Length of list in bytes */ | ^~~~~~~ ../../lavtools/avilib.c:710:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 710 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ ../../lavtools/avilib.c:1642:4: note: in expansion of macro 'OUTLONG' 1642 | OUTLONG(movi_len); /* Length of list in bytes */ | ^~~~~~~ ../../lavtools/avilib.c:707:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ ../../lavtools/avilib.c:1643:4: note: in expansion of macro 'OUT4CC' 1643 | OUT4CC ("movi"); | ^~~~~~ ../../lavtools/avilib.c:707:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 707 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ ../../lavtools/avilib.c:1643:4: note: in expansion of macro 'OUT4CC' 1643 | OUT4CC ("movi"); | ^~~~~~ ../../lavtools/avilib.c:1668:22: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 1668 | long2str(f, len); | ^ | | | char * ../../lavtools/avilib.c:122:37: note: expected 'unsigned char *' but argument is of type 'char *' 122 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:1674:22: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 1674 | long2str(f, len); | ^ | | | char * ../../lavtools/avilib.c:122:37: note: expected 'unsigned char *' but argument is of type 'char *' 122 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c: In function 'avi_write_data': ../../lavtools/avilib.c:1732:50: warning: pointer targets in passing argument 3 of 'avi_add_chunk' differ in signedness [-Wpointer-sign] 1732 | n = avi_add_chunk(AVI,(unsigned char *)astr,data,length); | ^~~~ | | | char * ../../lavtools/avilib.c:186:73: note: expected 'unsigned char *' but argument is of type 'char *' 186 | static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~~ ../../lavtools/avilib.c:1734:52: warning: pointer targets in passing argument 3 of 'avi_add_chunk' differ in signedness [-Wpointer-sign] 1734 | n = avi_add_chunk(AVI,(unsigned char *)"00db",data,length); | ^~~~ | | | char * ../../lavtools/avilib.c:186:73: note: expected 'unsigned char *' but argument is of type 'char *' 186 | static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~~ ../../lavtools/avilib.c: In function 'avi_parse_input_file': ../../lavtools/avilib.c:2371:41: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 2371 | else if (strncasecmp (hdrl_data+i,"iavs",4) ==0 && ! auds_strh_seen) { | ~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/string.h:462: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ../../lavtools/avilib.c:2379:36: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 2379 | else if(strncasecmp(hdrl_data+i,"dmlh",4) == 0) { | ~~~~~~~~~^~ | | | unsigned char * /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ../../lavtools/avilib.c:2456:36: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 2456 | else if(strncasecmp(hdrl_data+i,"indx",4) == 0) { | ~~~~~~~~~^~ | | | unsigned char * /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ../../lavtools/avilib.c:2463:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2463 | a = hdrl_data+i; | ^ ../../lavtools/avilib.c:2467:55: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2467 | AVI->video_superindex->dwSize = str2ulong(a); a += 4; | ^ | | | char * ../../lavtools/avilib.c:146:42: note: expected 'unsigned char *' but argument is of type 'char *' 146 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2468:64: warning: pointer targets in passing argument 1 of 'str2ushort' differ in signedness [-Wpointer-sign] 2468 | AVI->video_superindex->wLongsPerEntry = str2ushort(a); a += 2; | ^ | | | char * ../../lavtools/avilib.c:150:43: note: expected 'unsigned char *' but argument is of type 'char *' 150 | static uint32_t str2ushort(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2471:62: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2471 | AVI->video_superindex->nEntriesInUse = str2ulong(a); a += 4; | ^ | | | char * ../../lavtools/avilib.c:146:42: note: expected 'unsigned char *' but argument is of type 'char *' 146 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2484:72: warning: pointer targets in passing argument 1 of 'str2ullong' differ in signedness [-Wpointer-sign] 2484 | AVI->video_superindex->aIndex[j].qwOffset = str2ullong (a); a += 8; | ^ | | | char * ../../lavtools/avilib.c:139:43: note: expected 'unsigned char *' but argument is of type 'char *' 139 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2485:69: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2485 | AVI->video_superindex->aIndex[j].dwSize = str2ulong (a); a += 4; | ^ | | | char * ../../lavtools/avilib.c:146:42: note: expected 'unsigned char *' but argument is of type 'char *' 146 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2486:73: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2486 | AVI->video_superindex->aIndex[j].dwDuration = str2ulong (a); a += 4; | ^ | | | char * ../../lavtools/avilib.c:146:42: note: expected 'unsigned char *' but argument is of type 'char *' 146 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2516:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2516 | a = hdrl_data+i; | ^ ../../lavtools/avilib.c:2520:72: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2520 | AVI->track[AVI->aptr].audio_superindex->dwSize = str2ulong(a); a += 4; | ^ | | | char * ../../lavtools/avilib.c:146:42: note: expected 'unsigned char *' but argument is of type 'char *' 146 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2521:81: warning: pointer targets in passing argument 1 of 'str2ushort' differ in signedness [-Wpointer-sign] 2521 | AVI->track[AVI->aptr].audio_superindex->wLongsPerEntry = str2ushort(a); a += 2; | ^ | | | char * ../../lavtools/avilib.c:150:43: note: expected 'unsigned char *' but argument is of type 'char *' 150 | static uint32_t str2ushort(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2524:79: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2524 | AVI->track[AVI->aptr].audio_superindex->nEntriesInUse = str2ulong(a); a += 4; | ^ | | | char * ../../lavtools/avilib.c:146:42: note: expected 'unsigned char *' but argument is of type 'char *' 146 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2538:89: warning: pointer targets in passing argument 1 of 'str2ullong' differ in signedness [-Wpointer-sign] 2538 | AVI->track[AVI->aptr].audio_superindex->aIndex[j].qwOffset = str2ullong (a); a += 8; | ^ | | | char * ../../lavtools/avilib.c:139:43: note: expected 'unsigned char *' but argument is of type 'char *' 139 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2539:86: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2539 | AVI->track[AVI->aptr].audio_superindex->aIndex[j].dwSize = str2ulong (a); a += 4; | ^ | | | char * ../../lavtools/avilib.c:146:42: note: expected 'unsigned char *' but argument is of type 'char *' 146 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2540:90: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2540 | AVI->track[AVI->aptr].audio_superindex->aIndex[j].dwDuration = str2ulong (a); a += 4; | ^ | | | char * ../../lavtools/avilib.c:146:42: note: expected 'unsigned char *' but argument is of type 'char *' 146 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2564:37: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 2564 | else if((strncasecmp(hdrl_data+i,"JUNK",4) == 0) || | ~~~~~~~~~^~ | | | unsigned char * /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ../../lavtools/avilib.c:2565:37: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 2565 | (strncasecmp(hdrl_data+i,"strn",4) == 0) || | ~~~~~~~~~^~ | | | unsigned char * /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ../../lavtools/avilib.c:2566:37: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 2566 | (strncasecmp(hdrl_data+i,"vprp",4) == 0)){ | ~~~~~~~~~^~ | | | unsigned char * /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ../../lavtools/avilib.c:2736:35: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2736 | nrEntries = str2ulong(en + 12); | ~~~^~~~ | | | char * ../../lavtools/avilib.c:146:42: note: expected 'unsigned char *' but argument is of type 'char *' 146 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2740:33: warning: pointer targets in passing argument 1 of 'str2ullong' differ in signedness [-Wpointer-sign] 2740 | offset = str2ullong(en + 20); | ~~~^~~~ | | | char * ../../lavtools/avilib.c:139:43: note: expected 'unsigned char *' but argument is of type 'char *' 139 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2753:58: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2753 | AVI->video_index[k].pos = offset + str2ulong(en); en += 4; | ^~ | | | char * ../../lavtools/avilib.c:146:42: note: expected 'unsigned char *' but argument is of type 'char *' 146 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2754:53: warning: pointer targets in passing argument 1 of 'str2ulong_len' differ in signedness [-Wpointer-sign] 2754 | AVI->video_index[k].len = str2ulong_len(en); | ^~ | | | char * ../../lavtools/avilib.c:156:47: note: expected 'unsigned char *' but argument is of type 'char *' 156 | static uint32_t str2ulong_len (unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2755:53: warning: pointer targets in passing argument 1 of 'str2ulong_key' differ in signedness [-Wpointer-sign] 2755 | AVI->video_index[k].key = str2ulong_key(en); en += 4; | ^~ | | | char * ../../lavtools/avilib.c:163:47: note: expected 'unsigned char *' but argument is of type 'char *' 163 | static uint32_t str2ulong_key (unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2815:38: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2815 | nrEntries = str2ulong(en + 12); | ~~~^~~~ | | | char * ../../lavtools/avilib.c:146:42: note: expected 'unsigned char *' but argument is of type 'char *' 146 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2820:36: warning: pointer targets in passing argument 1 of 'str2ullong' differ in signedness [-Wpointer-sign] 2820 | offset = str2ullong(en + 20); | ~~~^~~~ | | | char * ../../lavtools/avilib.c:139:43: note: expected 'unsigned char *' but argument is of type 'char *' 139 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2829:74: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2829 | AVI->track[audtr].audio_index[k].pos = offset + str2ulong(en); en += 4; | ^~ | | | char * ../../lavtools/avilib.c:146:42: note: expected 'unsigned char *' but argument is of type 'char *' 146 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c:2830:69: warning: pointer targets in passing argument 1 of 'str2ulong_len' differ in signedness [-Wpointer-sign] 2830 | AVI->track[audtr].audio_index[k].len = str2ulong_len(en); en += 4; | ^~ | | | char * ../../lavtools/avilib.c:156:47: note: expected 'unsigned char *' but argument is of type 'char *' 156 | static uint32_t str2ulong_len (unsigned char *str) | ~~~~~~~~~~~~~~~^~~ ../../lavtools/avilib.c: In function 'AVI_read_audio': ../../lavtools/avilib.c:3304:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] 3304 | fprintf(stderr, "XXX pos = %lld, ret = %lld, todo = %ld\n", pos, ret, todo); | ~~~^ ~~~ | | | | long long int off_t {aka long int} | %ld ../../lavtools/avilib.c:3304:52: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 3304 | fprintf(stderr, "XXX pos = %lld, ret = %lld, todo = %ld\n", pos, ret, todo); | ~~~^ ~~~ | | | | long long int off_t {aka long int} | %ld ../../lavtools/avilib.c: In function 'AVI_read_wave_header': ../../lavtools/avilib.c:3540:31: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 3540 | if( strncasecmp(wave->riff.id , "RIFF",4) != 0 || | ~~~~~~~~~~^~~ | | | uint8_t * {aka unsigned char *} /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ../../lavtools/avilib.c:3541:31: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 3541 | strncasecmp(wave->riff.wave_id, "WAVE",4) != 0 || | ~~~~~~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ../../lavtools/avilib.c:3542:33: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 3542 | strncasecmp(wave->format.id , "fmt ",4) != 0 ) | ~~~~~~~~~~~~^~~ | | | uint8_t * {aka unsigned char *} /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ../../lavtools/avilib.c: In function 'avi_parse_index_from_file': ../../lavtools/avilib.c:2127:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2127 | fgets(data, 100, fd); | ^~~~~~~~~~~~~~~~~~~~ ../../lavtools/avilib.c:2135:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2135 | fgets(data, 100, fd); | ^~~~~~~~~~~~~~~~~~~~ ../../lavtools/avilib.c: In function 'avi_add_odml_index_entry.isra': ../../lavtools/avilib.c:412:43: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size 3 [-Wformat-truncation=] 412 | snprintf(fcc, sizeof(fcc), "ix%02d", AVI->aptr+1); | ^~~~ ../../lavtools/avilib.c:412:40: note: directive argument in the range [-2147483647, 2147483647] 412 | snprintf(fcc, sizeof(fcc), "ix%02d", AVI->aptr+1); | ^~~~~~~~ In file included from /usr/include/stdio.h:970, from ../../lavtools/avilib.h:30: In function 'snprintf', inlined from 'avi_add_odml_index_entry.isra' at ../../lavtools/avilib.c:412:6: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 5 and 14 bytes into a destination of size 5 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:548: In function 'memset', inlined from 'avi_close_output_file' at ../../lavtools/avilib.c:1635:4: /usr/include/bits/string_fortified.h:59:10: warning: '__builtin___memset_chk' offset [2053, 9223372036854775807] is out of the bounds [0, 2048] of object 'AVI_header' with type 'unsigned char[2048]' [-Warray-bounds=] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/avilib.c: In function 'avi_close_output_file': ../../lavtools/avilib.c:1144:18: note: 'AVI_header' declared here 1144 | unsigned char AVI_header[HEADERBYTES]; | ^~~~~~~~~~ In function 'memset', inlined from 'avi_update_header' at ../../lavtools/avilib.c:956:4: /usr/include/bits/string_fortified.h:59:10: warning: '__builtin___memset_chk' offset [2053, 219043332216] is out of the bounds [0, 2048] of object 'AVI_header' with type 'unsigned char[2048]' [-Warray-bounds=] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/avilib.c: In function 'avi_update_header': ../../lavtools/avilib.c:739:18: note: 'AVI_header' declared here 739 | unsigned char AVI_header[HEADERBYTES]; | ^~~~~~~~~~ ../../lavtools/avilib.c: In function 'AVI_write_frame': ../../lavtools/avilib.c:1717:43: warning: '%1d' directive output may be truncated writing between 1 and 11 bytes into a region of size 4 [-Wformat-truncation=] 1717 | snprintf((char *)astr, sizeof(astr), "0%1dwb", (int)(AVI->aptr+1)); | ^~~ In function 'avi_write_data', inlined from 'AVI_write_frame' at ../../lavtools/avilib.c:1749:6: ../../lavtools/avilib.c:1717:41: note: directive argument in the range [-2147483647, 2147483647] 1717 | snprintf((char *)astr, sizeof(astr), "0%1dwb", (int)(AVI->aptr+1)); | ^~~~~~~~ In function 'snprintf', inlined from 'avi_write_data' at ../../lavtools/avilib.c:1717:4, inlined from 'AVI_write_frame' at ../../lavtools/avilib.c:1749:6: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 5 and 15 bytes into a destination of size 5 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../lavtools/avilib.c: In function 'AVI_write_audio': ../../lavtools/avilib.c:1717:43: warning: '%1d' directive output may be truncated writing between 1 and 11 bytes into a region of size 4 [-Wformat-truncation=] 1717 | snprintf((char *)astr, sizeof(astr), "0%1dwb", (int)(AVI->aptr+1)); | ^~~ In function 'avi_write_data', inlined from 'AVI_write_audio' at ../../lavtools/avilib.c:1772:8: ../../lavtools/avilib.c:1717:41: note: directive argument in the range [-2147483647, 2147483647] 1717 | snprintf((char *)astr, sizeof(astr), "0%1dwb", (int)(AVI->aptr+1)); | ^~~~~~~~ In function 'snprintf', inlined from 'avi_write_data' at ../../lavtools/avilib.c:1717:4, inlined from 'AVI_write_audio' at ../../lavtools/avilib.c:1772:8: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 5 and 15 bytes into a destination of size 5 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -version-info 0:0:0 -release 2.2 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o liblavfile.la -rpath /usr/lib64 liblavfile_la-editlist.lo liblavfile_la-lav_io.lo liblavfile_la-avilib.lo -lquicktime -lm -lz -ldl -ljpeg -ldv -lm ../utils/libmjpegutils.la -lm libtool: link: gcc -shared -fPIC -DPIC .libs/liblavfile_la-editlist.o .libs/liblavfile_la-lav_io.o .libs/liblavfile_la-avilib.o -O2 -g -fstack-protector-strong -m64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,-rpath -Wl,/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils/.libs -lquicktime -lz -ldl -ljpeg -ldv ../utils/.libs/libmjpegutils.so -lm -Wl,-soname -Wl,liblavfile-2.2.so.0 -o .libs/liblavfile-2.2.so.0.0.0 libtool: link: (cd ".libs" && rm -f "liblavfile-2.2.so.0" && ln -s "liblavfile-2.2.so.0.0.0" "liblavfile-2.2.so.0") libtool: link: (cd ".libs" && rm -f "liblavfile.so" && ln -s "liblavfile-2.2.so.0.0.0" "liblavfile.so") libtool: link: ( cd ".libs" && rm -f "liblavfile.la" && ln -s "../liblavfile.la" "liblavfile.la" ) /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o liblavjpeg_la-jpegutils.lo `test -f 'jpegutils.c' || echo '../../lavtools/'`jpegutils.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../lavtools/jpegutils.c -fPIC -DPIC -o .libs/liblavjpeg_la-jpegutils.o /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -version-info 0:0:0 -release 2.2 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o liblavjpeg.la -rpath /usr/lib64 liblavjpeg_la-jpegutils.lo -ljpeg ../utils/libmjpegutils.la -lm libtool: link: gcc -shared -fPIC -DPIC .libs/liblavjpeg_la-jpegutils.o -O2 -g -fstack-protector-strong -m64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,-rpath -Wl,/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils/.libs -ljpeg ../utils/.libs/libmjpegutils.so -lm -Wl,-soname -Wl,liblavjpeg-2.2.so.0 -o .libs/liblavjpeg-2.2.so.0.0.0 libtool: link: (cd ".libs" && rm -f "liblavjpeg-2.2.so.0" && ln -s "liblavjpeg-2.2.so.0.0.0" "liblavjpeg-2.2.so.0") libtool: link: (cd ".libs" && rm -f "liblavjpeg.so" && ln -s "liblavjpeg-2.2.so.0.0.0" "liblavjpeg.so") libtool: link: ( cd ".libs" && rm -f "liblavjpeg.la" && ln -s "../liblavjpeg.la" "liblavjpeg.la" ) /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o liblavplay_la-liblavplay.lo `test -f 'liblavplay.c' || echo '../../lavtools/'`liblavplay.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../lavtools/liblavplay.c -fPIC -DPIC -o .libs/liblavplay_la-liblavplay.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o liblavplay_la-audiolib.lo `test -f 'audiolib.c' || echo '../../lavtools/'`audiolib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../lavtools/audiolib.c -fPIC -DPIC -o .libs/liblavplay_la-audiolib.o ../../lavtools/audiolib.c: In function 'do_audio': ../../lavtools/audiolib.c:1073:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1073 | if(nbque>nbdone) | ^ ../../lavtools/audiolib.c:850:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 850 | write(fd,(void *)shmemptr->audio_data[NBUF(nbque)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 851 | info.fragsize); | ~~~~~~~~~~~~~~ ../../lavtools/audiolib.c:862:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 862 | write(fd,buf,info.fragsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/audiolib.c:1079:19: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1079 | write(fd,(void *)shmemptr->audio_data[NBUF(nbque)], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1080 | info.fragsize); | ~~~~~~~~~~~~~~ ../../lavtools/audiolib.c:1096:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1096 | write(fd,buf,info.fragsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/audiolib.c: In function 'audio_strerror': ../../lavtools/audiolib.c:181:51: warning: '%s' directive writing up to 4095 bytes into a region of size 4071 [-Wformat-overflow=] 181 | sprintf(errstr,"Audio task died. Reason: %s",shmemptr->error_string); | ^~ In file included from /usr/include/stdio.h:970, from ../../lavtools/audiolib.c:34: In function 'sprintf', inlined from 'audio_strerror' at ../../lavtools/audiolib.c:181:10: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 26 and 4121 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -version-info 0:0:0 -release 2.2 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o liblavplay.la -rpath /usr/lib64 liblavplay_la-liblavplay.lo liblavplay_la-audiolib.lo liblavfile.la -lSDL liblavjpeg.la -ldv -lm ../utils/libmjpegutils.la -lX11 -lm libtool: link: gcc -shared -fPIC -DPIC .libs/liblavplay_la-liblavplay.o .libs/liblavplay_la-audiolib.o -O2 -g -fstack-protector-strong -m64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,-rpath -Wl,/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/lavtools/.libs -Wl,-rpath -Wl,/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils/.libs -L/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils/.libs ./.libs/liblavfile.so -lquicktime -lz -ldl -lSDL ./.libs/liblavjpeg.so -ljpeg /home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils/.libs/libmjpegutils.so -ldv ../utils/.libs/libmjpegutils.so -lX11 -lm -Wl,-soname -Wl,liblavplay-2.2.so.0 -o .libs/liblavplay-2.2.so.0.0.0 libtool: link: (cd ".libs" && rm -f "liblavplay-2.2.so.0" && ln -s "liblavplay-2.2.so.0.0.0" "liblavplay-2.2.so.0") libtool: link: (cd ".libs" && rm -f "liblavplay.so" && ln -s "liblavplay-2.2.so.0.0.0" "liblavplay.so") libtool: link: ( cd ".libs" && rm -f "liblavplay.la" && ln -s "../liblavplay.la" "liblavplay.la" ) gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o mjpeg_simd_helper.o ../../lavtools/mjpeg_simd_helper.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mjpeg_simd_helper mjpeg_simd_helper.o ../utils/libmjpegutils.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/mjpeg_simd_helper mjpeg_simd_helper.o ../utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o lav2wav.o ../../lavtools/lav2wav.c ../../lavtools/lav2wav.c: In function 'main': ../../lavtools/lav2wav.c:205:1: warning: old-style function definition [-Wold-style-definition] 205 | main(argc, argv) | ^~~~ ../../lavtools/lav2wav.c: In function 'wav_header': ../../lavtools/lav2wav.c:73:9: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 73 | strncpy((char*)wave.riff.id, "RIFF", 4); | ^ ../../lavtools/lav2wav.c:74:9: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 74 | strncpy((char*)wave.riff.wave_id, "WAVE",4); | ^ ../../lavtools/lav2wav.c:78:9: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 78 | strncpy((char*)wave.format.id, "fmt ",4); | ^ ../../lavtools/lav2wav.c:107:9: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 107 | strncpy((char*)wave.data.id, "data",4); | ^ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o lav2wav lav2wav.o ../utils/libmjpegutils.la liblavfile.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/lav2wav lav2wav.o ../utils/.libs/libmjpegutils.so ./.libs/liblavfile.so -lquicktime -lz -ldl -ljpeg -ldv /home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o lav2yuv-lav2yuv.o `test -f 'lav2yuv.c' || echo '../../lavtools/'`lav2yuv.c ../../lavtools/lav2yuv.c: In function 'main': ../../lavtools/lav2yuv.c:215:5: warning: old-style function definition [-Wold-style-definition] 215 | int main(argc, argv) | ^~~~ gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o lav2yuv-lav_common.o `test -f 'lav_common.c' || echo '../../lavtools/'`lav_common.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o lav2yuv lav2yuv-lav2yuv.o lav2yuv-lav_common.o ../utils/libmjpegutils.la liblavfile.la liblavjpeg.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/lav2yuv lav2yuv-lav2yuv.o lav2yuv-lav_common.o ../utils/.libs/libmjpegutils.so ./.libs/liblavfile.so -lquicktime -lz -ldl -ldv ./.libs/liblavjpeg.so -ljpeg /home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o lavaddwav.o ../../lavtools/lavaddwav.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o lavaddwav lavaddwav.o ../utils/libmjpegutils.la liblavfile.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/lavaddwav lavaddwav.o ../utils/.libs/libmjpegutils.so ./.libs/liblavfile.so -lquicktime -lz -ldl -ljpeg -ldv /home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o lavtrans.o ../../lavtools/lavtrans.c ../../lavtools/lavtrans.c: In function 'initwav_hdr': ../../lavtools/lavtrans.c:121:33: warning: passing argument 2 to 'restrict'-qualified parameter aliases with argument 1 [-Wrestrict] 121 | swab(&wave_hdr.wFormatTag, &wave_hdr.wFormatTag ,2); | ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~ ../../lavtools/lavtrans.c: In function 'main': ../../lavtools/lavtrans.c:260:36: warning: passing argument 2 to 'restrict'-qualified parameter aliases with argument 1 [-Wrestrict] 260 | swab(&wave_hdr.nChannels, &wave_hdr.nChannels, 2); | ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ ../../lavtools/lavtrans.c:261:38: warning: passing argument 2 to 'restrict'-qualified parameter aliases with argument 1 [-Wrestrict] 261 | swab(&wave_hdr.nBlockAlign, &wave_hdr.nBlockAlign, 2); | ~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ ../../lavtools/lavtrans.c:262:41: warning: passing argument 2 to 'restrict'-qualified parameter aliases with argument 1 [-Wrestrict] 262 | swab(&wave_hdr.wBitsPerSample, &wave_hdr.wBitsPerSample, 2); | ~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o lavtrans lavtrans.o ../utils/libmjpegutils.la liblavfile.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/lavtrans lavtrans.o ../utils/.libs/libmjpegutils.so ./.libs/liblavfile.so -lquicktime -lz -ldl -ljpeg -ldv /home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o ypipe.o ../../lavtools/ypipe.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ypipe ypipe.o ../utils/libmjpegutils.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ypipe ypipe.o ../utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o yuv2lav.o ../../lavtools/yuv2lav.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o yuv2lav yuv2lav.o ../utils/libmjpegutils.la liblavfile.la liblavjpeg.la -lm -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/yuv2lav yuv2lav.o ../utils/.libs/libmjpegutils.so ./.libs/liblavfile.so -lquicktime -lz -ldl -ldv ./.libs/liblavjpeg.so -ljpeg /home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o transist.flt.o ../../lavtools/transist.flt.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o transist.flt transist.flt.o ../utils/libmjpegutils.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/transist.flt transist.flt.o ../utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o matteblend.flt.o ../../lavtools/matteblend.flt.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o matteblend.flt matteblend.flt.o ../utils/libmjpegutils.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/matteblend.flt matteblend.flt.o ../utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o multiblend.flt.o ../../lavtools/multiblend.flt.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o multiblend.flt multiblend.flt.o ../utils/libmjpegutils.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/multiblend.flt multiblend.flt.o ../utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o lavpipe.o ../../lavtools/lavpipe.c ../../lavtools/lavpipe.c: In function 'fork_child': ../../lavtools/lavpipe.c:160:3: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 160 | strncpy(current, command, 1024); | ^ ../../lavtools/lavpipe.c:167:33: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 167 | snprintf(next, 1024, "%s%d%s", current, offset, p); | ^ In file included from /usr/include/stdio.h:970, from ../../lavtools/lavpipe.c:28: In function 'snprintf', inlined from 'fork_child' at ../../lavtools/lavpipe.c:167:5: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../lavtools/lavpipe.c: In function 'fork_child': ../../lavtools/lavpipe.c:178:33: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 178 | snprintf(next, 1024, "%s%d%s", current, num, p); | ^ In function 'snprintf', inlined from 'fork_child' at ../../lavtools/lavpipe.c:178:5: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o pipelist.o ../../lavtools/pipelist.c ../../lavtools/pipelist.c: In function 'read_pipe_list': ../../lavtools/pipelist.c:46:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 46 | fgets (line, 1024, fd); | ^~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/pipelist.c:51:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 51 | fgets (line, 1024, fd); | ^~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/pipelist.c:65:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | fgets (line, 1024, fd); | ^~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/pipelist.c:76:10: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | fgets(line,1024,fd); | ^~~~~~~~~~~~~~~~~~~ ../../lavtools/pipelist.c:122:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 122 | fgets (line, 1024, fd); /* ignore eof - will detect later */ | ^~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/pipelist.c:84:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 84 | strncpy (pl->source_cmd[i], line, n); | ^ ../../lavtools/pipelist.c:77:14: note: length computed here 77 | n = strlen(line); | ^~~~~~~~~~~~ ../../lavtools/pipelist.c:155:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 155 | strncpy (seq->output_cmd, line, n); | ^ ../../lavtools/pipelist.c:147:14: note: length computed here 147 | n = strlen(line); | ^~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o lavpipe lavpipe.o pipelist.o ../utils/libmjpegutils.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/lavpipe lavpipe.o pipelist.o ../utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o jpeg2yuv-jpeg2yuv.o `test -f 'jpeg2yuv.c' || echo '../../lavtools/'`jpeg2yuv.c ../../lavtools/jpeg2yuv.c: In function 'read_jpeg_data.constprop': ../../lavtools/jpeg2yuv.c:389:5: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 389 | strncpy(prev_jpegname, jpegname, strlen(jpegname)); | ^ ../../lavtools/jpeg2yuv.c:388:7: note: length computed here 388 | if (strncmp(jpegname, prev_jpegname, strlen(jpegname)) != 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o jpeg2yuv jpeg2yuv-jpeg2yuv.o ../utils/libmjpegutils.la liblavjpeg.la -ljpeg -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/jpeg2yuv jpeg2yuv-jpeg2yuv.o ../utils/.libs/libmjpegutils.so ./.libs/liblavjpeg.so /home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils/.libs/libmjpegutils.so -ljpeg -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o ppmtoy4m.o ../../lavtools/ppmtoy4m.c gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o colorspace.o ../../lavtools/colorspace.c gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o subsample.o ../../lavtools/subsample.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ppmtoy4m ppmtoy4m.o colorspace.o subsample.o ../utils/libmjpegutils.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ppmtoy4m ppmtoy4m.o colorspace.o subsample.o ../utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o pnmtoy4m.o ../../lavtools/pnmtoy4m.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o pnmtoy4m pnmtoy4m.o colorspace.o ../utils/libmjpegutils.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/pnmtoy4m pnmtoy4m.o colorspace.o ../utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o y4mtoppm.o ../../lavtools/y4mtoppm.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o y4mtoppm y4mtoppm.o colorspace.o subsample.o ../utils/libmjpegutils.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/y4mtoppm y4mtoppm.o colorspace.o subsample.o ../utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o y4mtopnm.o ../../lavtools/y4mtopnm.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o y4mtopnm y4mtopnm.o colorspace.o ../utils/libmjpegutils.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/y4mtopnm y4mtopnm.o colorspace.o ../utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o y4mcolorbars.o ../../lavtools/y4mcolorbars.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o y4mcolorbars y4mcolorbars.o colorspace.o subsample.o ../utils/libmjpegutils.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/y4mcolorbars y4mcolorbars.o colorspace.o subsample.o ../utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o lavinfo.o ../../lavtools/lavinfo.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o lavinfo lavinfo.o ../utils/libmjpegutils.la liblavfile.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/lavinfo lavinfo.o ../utils/.libs/libmjpegutils.so ./.libs/liblavfile.so -lquicktime -lz -ldl -ljpeg -ldv /home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o y4mstabilizer.o ../../lavtools/y4mstabilizer.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o y4mstabilizer y4mstabilizer.o subsample.o ../utils/libmjpegutils.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/y4mstabilizer y4mstabilizer.o subsample.o ../utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o yuvfps.o ../../lavtools/yuvfps.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o yuvfps yuvfps.o ../utils/libmjpegutils.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/yuvfps yuvfps.o ../utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o yuvinactive.o ../../lavtools/yuvinactive.c ../../lavtools/yuvinactive.c: In function 'process_commandline': ../../lavtools/yuvinactive.c:106:10: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] 106 | strncpy(area, optarg, 20); | ^ ../../lavtools/yuvinactive.c:102:10: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] 102 | strncpy(area, optarg, 20); /* This part shows how to process */ | ^ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o yuvinactive yuvinactive.o ../utils/libmjpegutils.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/yuvinactive yuvinactive.o ../utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_LOG_DOMAIN=\"lavtools\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o glav-glav.o `test -f 'glav.c' || echo '../../lavtools/'`glav.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../lavtools/glav.c:6: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_LOG_DOMAIN=\"lavtools\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o glav-glav_main.o `test -f 'glav_main.c' || echo '../../lavtools/'`glav_main.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../lavtools/glav_main.c:28: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../lavtools/glav_main.c: In function 'key_press_cb': ../../lavtools/glav_main.c:143:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | write(out_pipe,"s0\n",3); /* go to beginning */ | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c:147:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 147 | write(out_pipe,"s10000000\n",10); /* go to end */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c:179:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 179 | write(out_pipe,"s10000000\n",10); /* go to end */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c:194:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 194 | write(out_pipe,"s0\n",3); /* go to beginning */ | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c:294:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 294 | write(out_pipe,"p0\n",3); /* pause on all keys */ | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c: In function 'skip_num_frames': ../../lavtools/glav_main.c:79:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 79 | write(out_pipe,out,strlen(out)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c: In function 'timeslider_cb': ../../lavtools/glav_main.c:438:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 438 | write(out_pipe,out,strlen(out)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c: In function 'button_cb': ../../lavtools/glav_main.c:446:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 446 | case 1: write(out_pipe,"s0\n",3); break; /* go to beginning */ | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c:447:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 447 | case 2: write(out_pipe,"s10000000\n",10); break; /* go to end */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c: In function 'skip_frame': ../../lavtools/glav_main.c:465:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 465 | write(out_pipe,out,2); | ^~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c: In function 'frame_skip_released': ../../lavtools/glav_main.c:498:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 498 | write(out_pipe,out,2); | ^~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c: In function 'rb_cb': ../../lavtools/glav_main.c:516:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 516 | write(out_pipe,out,strlen(out)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c:518:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 518 | case 2: write(out_pipe,"p-1\n",4); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c:519:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 519 | case 3: write(out_pipe,"p0\n",3); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c:520:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 520 | case 4: write(out_pipe,"p1\n",3); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c:525:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 525 | write(out_pipe,out,strlen(out)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c: In function 'Exit_cb': ../../lavtools/glav_main.c:561:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 561 | write(out_pipe,"q\n\n\n",4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c: In function 'selection_cb': ../../lavtools/glav_main.c:604:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 604 | write(out_pipe,str,strlen(str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c:619:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 619 | write(out_pipe,"ep\n",3); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c:634:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 634 | write(out_pipe,str,strlen(str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c:643:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 643 | write(out_pipe,str,strlen(str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lavtools/glav_main.c: In function 'store_filename': ../../lavtools/glav_main.c:106:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 106 | write(out_pipe,str,strlen(str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o glav glav-glav.o glav-glav_main.o ../utils/libmjpegutils.la -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/glav glav-glav.o glav-glav_main.o -Wl,--export-dynamic -pthread ../utils/.libs/libmjpegutils.so -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgmodule-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lm -pthread gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o yuvplay-yuvplay.o `test -f 'yuvplay.c' || echo '../../lavtools/'`yuvplay.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o yuvplay yuvplay-yuvplay.o -lSDL ../utils/libmjpegutils.la -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/yuvplay yuvplay-yuvplay.o -lSDL ../utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o lavplay-lavplay.o `test -f 'lavplay.c' || echo '../../lavtools/'`lavplay.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o lavplay lavplay-lavplay.o ../utils/libmjpegutils.la liblavplay.la liblavjpeg.la liblavfile.la -lSDL -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/lavplay lavplay-lavplay.o ../utils/.libs/libmjpegutils.so ./.libs/liblavplay.so /home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/lavtools/.libs/liblavfile.so /home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/lavtools/.libs/liblavjpeg.so -lX11 ./.libs/liblavjpeg.so ./.libs/liblavfile.so -lquicktime -lz -ldl -ljpeg -ldv /home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils/.libs/libmjpegutils.so -lSDL -lm gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o png2yuv-png2yuv.o `test -f 'png2yuv.c' || echo '../../lavtools/'`png2yuv.c gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o png2yuv-colorspace.o `test -f 'colorspace.c' || echo '../../lavtools/'`colorspace.c gcc -DHAVE_CONFIG_H -I. -I../../lavtools -I.. -I../.. -I../../utils -I/usr/include/lqt -I/usr/include/libpng16 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o png2yuv-subsample.o `test -f 'subsample.c' || echo '../../lavtools/'`subsample.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o png2yuv png2yuv-png2yuv.o png2yuv-colorspace.o png2yuv-subsample.o ../utils/libmjpegutils.la -lpng16 -lz -lm -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/png2yuv png2yuv-png2yuv.o png2yuv-colorspace.o png2yuv-subsample.o ../utils/.libs/libmjpegutils.so -lpng16 -lz -lm make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/lavtools' Making all in aenc make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/aenc' gcc -DHAVE_CONFIG_H -I. -I../../aenc -I.. -I ../.. -I ../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o common.o ../../aenc/common.c ../../aenc/common.c: In function 'pick_table': ../../aenc/common.c:127:5: warning: old-style function definition [-Wold-style-definition] 127 | int pick_table(fr_ps) /* choose table, load if necess, return # sb's */ | ^~~~~~~~~~ ../../aenc/common.c: In function 'js_bound': ../../aenc/common.c:154:5: warning: old-style function definition [-Wold-style-definition] 154 | int js_bound(lay, m_ext) | ^~~~~~~~ ../../aenc/common.c: In function 'hdr_to_frps': ../../aenc/common.c:166:6: warning: old-style function definition [-Wold-style-definition] 166 | void hdr_to_frps(fr_ps) /* interpret data in hdr str to fields in fr_ps */ | ^~~~~~~~~~~ ../../aenc/common.c: In function 'NumericQ': ../../aenc/common.c:282:5: warning: old-style function definition [-Wold-style-definition] 282 | int NumericQ(s) /* see if a string lookd like a numeric argument */ | ^~~~~~~~ ../../aenc/common.c: In function 'mem_alloc': ../../aenc/common.c:338:8: warning: old-style function definition [-Wold-style-definition] 338 | void *mem_alloc(block, item) | ^~~~~~~~~ ../../aenc/common.c: In function 'mem_free': ../../aenc/common.c:355:9: warning: old-style function definition [-Wold-style-definition] 355 | void mem_free(ptr_addr) | ^~~~~~~~ ../../aenc/common.c: In function 'refill_buffer': ../../aenc/common.c:401:6: warning: old-style function definition [-Wold-style-definition] 401 | void refill_buffer(bs) | ^~~~~~~~~~~~~ ../../aenc/common.c: In function 'empty_buffer': ../../aenc/common.c:455:6: warning: old-style function definition [-Wold-style-definition] 455 | void empty_buffer(bs, minimum) | ^~~~~~~~~~~~ ../../aenc/common.c: In function 'open_bit_stream_w': ../../aenc/common.c:481:6: warning: old-style function definition [-Wold-style-definition] 481 | void open_bit_stream_w(bs, bs_filenam, size) | ^~~~~~~~~~~~~~~~~ ../../aenc/common.c: In function 'open_bit_stream_r': ../../aenc/common.c:504:6: warning: old-style function definition [-Wold-style-definition] 504 | void open_bit_stream_r(bs, bs_filenam, size) | ^~~~~~~~~~~~~~~~~ ../../aenc/common.c: In function 'close_bit_stream_r': ../../aenc/common.c:575:6: warning: old-style function definition [-Wold-style-definition] 575 | void close_bit_stream_r(bs) | ^~~~~~~~~~~~~~~~~~ ../../aenc/common.c: In function 'close_bit_stream_w': ../../aenc/common.c:583:6: warning: old-style function definition [-Wold-style-definition] 583 | void close_bit_stream_w(bs) | ^~~~~~~~~~~~~~~~~~ ../../aenc/common.c: In function 'alloc_buffer': ../../aenc/common.c:593:6: warning: old-style function definition [-Wold-style-definition] 593 | void alloc_buffer(bs, size) | ^~~~~~~~~~~~ ../../aenc/common.c: In function 'desalloc_buffer': ../../aenc/common.c:603:6: warning: old-style function definition [-Wold-style-definition] 603 | void desalloc_buffer(bs) | ^~~~~~~~~~~~~~~ ../../aenc/common.c: In function 'back_track_buffer': ../../aenc/common.c:612:6: warning: old-style function definition [-Wold-style-definition] 612 | void back_track_buffer(bs, N) /* goes back N bits in the buffer */ | ^~~~~~~~~~~~~~~~~ ../../aenc/common.c: In function 'get1bit': ../../aenc/common.c:635:14: warning: old-style function definition [-Wold-style-definition] 635 | unsigned int get1bit(bs) | ^~~~~~~ ../../aenc/common.c: In function 'put1bit': ../../aenc/common.c:664:6: warning: old-style function definition [-Wold-style-definition] 664 | void put1bit(bs, bit) | ^~~~~~~ ../../aenc/common.c: In function 'look_ahead': ../../aenc/common.c:682:15: warning: old-style function definition [-Wold-style-definition] 682 | unsigned long look_ahead(bs, N) | ^~~~~~~~~~ ../../aenc/common.c: In function 'getbits': ../../aenc/common.c:711:15: warning: old-style function definition [-Wold-style-definition] 711 | unsigned long getbits(bs, N) | ^~~~~~~ ../../aenc/common.c: In function 'putbits': ../../aenc/common.c:750:6: warning: old-style function definition [-Wold-style-definition] 750 | void putbits(bs, val, N) | ^~~~~~~ ../../aenc/common.c: In function 'byte_ali_putbits': ../../aenc/common.c:779:6: warning: old-style function definition [-Wold-style-definition] 779 | void byte_ali_putbits(bs, val, N) | ^~~~~~~~~~~~~~~~ ../../aenc/common.c: In function 'byte_ali_getbits': ../../aenc/common.c:796:15: warning: old-style function definition [-Wold-style-definition] 796 | unsigned long byte_ali_getbits(bs, N) | ^~~~~~~~~~~~~~~~ ../../aenc/common.c: In function 'sstell': ../../aenc/common.c:812:15: warning: old-style function definition [-Wold-style-definition] 812 | unsigned long sstell(bs) | ^~~~~~ ../../aenc/common.c: In function 'end_bs': ../../aenc/common.c:821:5: warning: old-style function definition [-Wold-style-definition] 821 | int end_bs(bs) | ^~~~~~ ../../aenc/common.c: In function 'seek_sync': ../../aenc/common.c:830:5: warning: old-style function definition [-Wold-style-definition] 830 | int seek_sync(bs, sync, N) | ^~~~~~~~~ ../../aenc/common.c: In function 'I_CRC_calc': ../../aenc/common.c:857:6: warning: old-style function definition [-Wold-style-definition] 857 | void I_CRC_calc(fr_ps, bit_alloc, crc) | ^~~~~~~~~~ ../../aenc/common.c: In function 'II_CRC_calc': ../../aenc/common.c:883:6: warning: old-style function definition [-Wold-style-definition] 883 | void II_CRC_calc(fr_ps, bit_alloc, scfsi, crc) | ^~~~~~~~~~~ ../../aenc/common.c: In function 'update_CRC': ../../aenc/common.c:916:6: warning: old-style function definition [-Wold-style-definition] 916 | void update_CRC(data, length, crc) | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../../aenc -I.. -I ../.. -I ../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o encode.o ../../aenc/encode.c ../../aenc/encode.c: In function 'get_audio': ../../aenc/encode.c:308:15: warning: old-style function definition [-Wold-style-definition] 308 | unsigned long get_audio(musicin, buffer, num_samples, stereo, lay) | ^~~~~~~~~ ../../aenc/encode.c: In function 'window_subband': ../../aenc/encode.c:378:6: warning: old-style function definition [-Wold-style-definition] 378 | void window_subband(buffer, z, k) | ^~~~~~~~~~~~~~ ../../aenc/encode.c: In function 'create_ana_filter': ../../aenc/encode.c:421:6: warning: old-style function definition [-Wold-style-definition] 421 | void create_ana_filter(filter) | ^~~~~~~~~~~~~~~~~ ../../aenc/encode.c: In function 'filter_subband': ../../aenc/encode.c:450:6: warning: old-style function definition [-Wold-style-definition] 450 | void filter_subband(z,s) | ^~~~~~~~~~~~~~ ../../aenc/encode.c: In function 'encode_info': ../../aenc/encode.c:479:6: warning: old-style function definition [-Wold-style-definition] 479 | void encode_info(fr_ps,bs) | ^~~~~~~~~~~ ../../aenc/encode.c: In function 'mod': ../../aenc/encode.c:508:8: warning: old-style function definition [-Wold-style-definition] 508 | double mod(a) | ^~~ ../../aenc/encode.c: In function 'I_combine_LR': ../../aenc/encode.c:528:6: warning: old-style function definition [-Wold-style-definition] 528 | void I_combine_LR(sb_sample, joint_sample) | ^~~~~~~~~~~~ ../../aenc/encode.c: In function 'II_combine_LR': ../../aenc/encode.c:540:6: warning: old-style function definition [-Wold-style-definition] 540 | void II_combine_LR(sb_sample, joint_sample, sblimit) | ^~~~~~~~~~~~~ ../../aenc/encode.c: In function 'I_scale_factor_calc': ../../aenc/encode.c:571:6: warning: old-style function definition [-Wold-style-definition] 571 | void I_scale_factor_calc(sb_sample,scalar,stereo) | ^~~~~~~~~~~~~~~~~~~ ../../aenc/encode.c: In function 'II_scale_factor_calc': ../../aenc/encode.c:596:6: warning: old-style function definition [-Wold-style-definition] 596 | void II_scale_factor_calc(sb_sample,scalar,stereo,sblimit) | ^~~~~~~~~~~~~~~~~~~~ ../../aenc/encode.c:611:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 611 | for (j=SCALE_RANGE-2,scalar[k][t][i]=0;j>=0;j--) /* $A 6/16/92 */ | ^~~ ../../aenc/encode.c:616:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 616 | for (i=sblimit;i= jsbound) /* check other JS channel */ | ^~ ../../aenc/encode.c: In function 'II_bits_for_nonoise': ../../aenc/encode.c:866:5: warning: old-style function definition [-Wold-style-definition] 866 | int II_bits_for_nonoise(perm_smr, scfsi, fr_ps) | ^~~~~~~~~~~~~~~~~~~ ../../aenc/encode.c: In function 'I_main_bit_allocation': ../../aenc/encode.c:944:6: warning: old-style function definition [-Wold-style-definition] 944 | void I_main_bit_allocation(perm_smr, bit_alloc, adb, fr_ps) | ^~~~~~~~~~~~~~~~~~~~~ ../../aenc/encode.c: In function 'II_main_bit_allocation': ../../aenc/encode.c:982:6: warning: old-style function definition [-Wold-style-definition] 982 | void II_main_bit_allocation(perm_smr, scfsi, bit_alloc, adb, fr_ps) | ^~~~~~~~~~~~~~~~~~~~~~ ../../aenc/encode.c: In function 'I_a_bit_allocation': ../../aenc/encode.c:1036:6: warning: old-style function definition [-Wold-style-definition] 1036 | void I_a_bit_allocation(perm_smr, bit_alloc, adb, fr_ps) /* return noisy sbs */ | ^~~~~~~~~~~~~~~~~~ ../../aenc/encode.c: In function 'II_a_bit_allocation': ../../aenc/encode.c:1113:6: warning: old-style function definition [-Wold-style-definition] 1113 | void II_a_bit_allocation(perm_smr, scfsi, bit_alloc, adb, fr_ps) | ^~~~~~~~~~~~~~~~~~~ ../../aenc/encode.c: In function 'I_subband_quantization': ../../aenc/encode.c:1234:6: warning: old-style function definition [-Wold-style-definition] 1234 | void I_subband_quantization(scalar, sb_samples, j_scale, j_samps, | ^~~~~~~~~~~~~~~~~~~~~~ ../../aenc/encode.c: In function 'II_subband_quantization': ../../aenc/encode.c:1292:6: warning: old-style function definition [-Wold-style-definition] 1292 | void II_subband_quantization(scalar, sb_samples, j_scale, j_samps, | ^~~~~~~~~~~~~~~~~~~~~~~ ../../aenc/encode.c:1313:10: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1313 | for (k=0;k<((idorder, 1226 | runout_PTS/300, | ~~~~~~~~~~~~~~ | | | clockticks {aka long int} ../../mplex/multiplexor.cpp:1224:72: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'clockticks' {aka 'long int'} [-Wformat=] 1224 | mjpeg_info("Run out PTS limit to AU %d %lld SCR=%lld", | ~~~^ | | | long long int | %ld ...... 1227 | current_SCR/300 ); | ~~~~~~~~~~~~~~~ | | | clockticks {aka long int} ../../mplex/multiplexor.cpp:1262:43: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'clockticks' {aka 'long int'} [-Wformat=] 1262 | mjpeg_debug("%02x: SCR=%lld (%.3f) mux=%d %d reqDTS=%lld ", | ~~~^ | | | long long int | %ld 1263 | (*str)->stream_id, 1264 | current_SCR, | ~~~~~~~~~~~ | | | clockticks {aka long int} ../../mplex/multiplexor.cpp:1262:72: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'clockticks' {aka 'long int'} [-Wformat=] 1262 | mjpeg_debug("%02x: SCR=%lld (%.3f) mux=%d %d reqDTS=%lld ", | ~~~^ | | | long long int | %ld ...... 1268 | (*str)->RequiredDTS()/300 | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | clockticks {aka long int} ../../mplex/multiplexor.cpp:1293:98: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'clockticks' {aka 'long int'} [-Wformat=] 1293 | mjpeg_warn( "Stream %02x: data will arrive too late sent(SCR)=%lld required(DTS)=%lld", | ~~~^ | | | long long int | %ld 1294 | despatch->stream_id, 1295 | current_SCR/300, | ~~~~~~~~~~~~~~~ | | | clockticks {aka long int} ../../mplex/multiplexor.cpp:1293:117: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'clockticks' {aka 'long int'} [-Wformat=] 1293 | mjpeg_warn( "Stream %02x: data will arrive too late sent(SCR)=%lld required(DTS)=%lld", | ~~~^ | | | long long int | %ld ...... 1296 | earliest/300 ); | ~~~~~~~~~~~~ | | | clockticks {aka long int} ../../mplex/multiplexor.cpp:1389:53: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'clockticks' {aka 'long int'} [-Wformat=] 1389 | mjpeg_info( "Multiplex completion at SCR=%lld.", current_SCR/300); | ~~~^ ~~~~~~~~~~~~~~~ | | | | long long int clockticks {aka long int} | %ld /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mplex -I.. -I ../.. -I ../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libmplex2_la-padstrm.lo `test -f 'padstrm.cpp' || echo '../../mplex/'`padstrm.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mplex -I.. -I ../.. -I ../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mplex/padstrm.cpp -fPIC -DPIC -o .libs/libmplex2_la-padstrm.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mplex -I.. -I ../.. -I ../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libmplex2_la-stillsstream.lo `test -f 'stillsstream.cpp' || echo '../../mplex/'`stillsstream.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mplex -I.. -I ../.. -I ../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mplex/stillsstream.cpp -fPIC -DPIC -o .libs/libmplex2_la-stillsstream.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mplex -I.. -I ../.. -I ../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libmplex2_la-stream_params.lo `test -f 'stream_params.cpp' || echo '../../mplex/'`stream_params.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mplex -I.. -I ../.. -I ../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mplex/stream_params.cpp -fPIC -DPIC -o .libs/libmplex2_la-stream_params.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mplex -I.. -I ../.. -I ../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libmplex2_la-systems.lo `test -f 'systems.cpp' || echo '../../mplex/'`systems.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mplex -I.. -I ../.. -I ../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mplex/systems.cpp -fPIC -DPIC -o .libs/libmplex2_la-systems.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mplex -I.. -I ../.. -I ../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libmplex2_la-videostrm_in.lo `test -f 'videostrm_in.cpp' || echo '../../mplex/'`videostrm_in.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mplex -I.. -I ../.. -I ../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mplex/videostrm_in.cpp -fPIC -DPIC -o .libs/libmplex2_la-videostrm_in.o ../../mplex/videostrm_in.cpp: In function 'void marker_bit(IBitStream&, unsigned int)': ../../mplex/videostrm_in.cpp:34:63: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'bitcount_t' {aka 'long unsigned int'} [-Wformat=] 34 | mjpeg_error ("Illegal MPEG stream at offset (bits) %lld: supposed marker bit not found.",bs.bitcount()); | ~~~^ ~~~~~~~~~~~~~ | | | | long long int bitcount_t {aka long unsigned int} | %ld ../../mplex/videostrm_in.cpp: In member function 'virtual void VideoStream::FillAUbuffer(unsigned int)': ../../mplex/videostrm_in.cpp:167:56: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'bitcount_t' {aka 'long unsigned int'} [-Wformat=] 167 | mjpeg_debug("Seq hdr @ %lld",bs.bitcount() / 8-4); | ~~~^ ~~~~~~~~~~~~~~~~~~~ | | | | long long int bitcount_t {aka long unsigned int} | %ld ../../mplex/videostrm_in.cpp:169:58: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'bitcount_t' {aka 'long unsigned int'} [-Wformat=] 169 | mjpeg_debug("Group hdr @ %lld",bs.bitcount()/8-4); | ~~~^ ~~~~~~~~~~~~~~~~~ | | | | long long int bitcount_t {aka long unsigned int} | %ld ../../mplex/videostrm_in.cpp:175:64: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'bitcount_t' {aka 'long unsigned int'} [-Wformat=] 175 | mjpeg_debug( "AU %d %d %d @ %lld: DTS=%ud", | ~~~^ | | | long long int | %ld 176 | decoding_order, access_unit.type, 177 | access_unit.length, bs.bitcount() / 8-4, | ~~~~~~~~~~~~~~~~~~~ | | | bitcount_t {aka long unsigned int} ../../mplex/videostrm_in.cpp:228:57: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'bitcount_t' {aka 'long unsigned int'} [-Wformat=] 228 | mjpeg_debug("Picture start @ %lld",bs.bitcount() / 8-4); | ~~~^ ~~~~~~~~~~~~~~~~~~~ | | | | long long int bitcount_t {aka long unsigned int} | %ld ../../mplex/videostrm_in.cpp:303:49: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'bitcount_t' {aka 'long unsigned int'} [-Wformat=] 303 | mjpeg_debug( "LAST AU %d %d %d @ %lld: DTS=%ud", | ~~~^ | | | long long int | %ld 304 | decoding_order, access_unit.type, access_unit.length, 305 | bs.bitcount() / 8-4, | ~~~~~~~~~~~~~~~~~~~ | | | bitcount_t {aka long unsigned int} ../../mplex/videostrm_in.cpp: In member function 'virtual void VideoStream::Close()': ../../mplex/videostrm_in.cpp:338:44: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'bitcount_t' {aka 'long unsigned int'} [-Wformat=] 338 | mjpeg_info ("Video Stream length: %11llu bytes", stream_length); | ~~~~~^ ~~~~~~~~~~~~~ | | | | | bitcount_t {aka long unsigned int} | long long unsigned int | %11lu /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mplex -I.. -I ../.. -I ../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libmplex2_la-videostrm_out.lo `test -f 'videostrm_out.cpp' || echo '../../mplex/'`videostrm_out.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mplex -I.. -I ../.. -I ../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mplex/videostrm_out.cpp -fPIC -DPIC -o .libs/libmplex2_la-videostrm_out.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../mplex -I.. -I ../.. -I ../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libmplex2_la-subpstream.lo `test -f 'subpstream.cpp' || echo '../../mplex/'`subpstream.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../mplex -I.. -I ../.. -I ../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c ../../mplex/subpstream.cpp -fPIC -DPIC -o .libs/libmplex2_la-subpstream.o ../../mplex/subpstream.cpp: In member function 'bool SUBPStream::ParseAUBitwise()': ../../mplex/subpstream.cpp:189:54: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'clockticks' {aka 'long int'} [-Wformat=] 189 | mjpeg_info("Stream offset is : %lld (PTS)",access_unit.PTS); | ~~~^ ~~~~~~~~~~~~~~~ | | | | long long int clockticks {aka long int} | %ld ../../mplex/subpstream.cpp:190:54: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int64_t' {aka 'long int'} [-Wformat=] 190 | mjpeg_info("Initial offset is : %lld (PTS)",initial_offset); | ~~~^ ~~~~~~~~~~~~~~ | | | | | int64_t {aka long int} | long long int | %ld ../../mplex/subpstream.cpp:191:54: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int64_t' {aka 'long int'} [-Wformat=] 191 | mjpeg_info("Cmd line offset is: %lld (PTS)",parms->Offset()); | ~~~^ ~~~~~~~~~~~~~~~ | | | | long long int int64_t {aka long int} | %ld ../../mplex/subpstream.cpp:193:54: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int64_t' {aka 'long int'} [-Wformat=] 193 | mjpeg_info("Adjustment offset : %lld (PTS)",initial_offset); | ~~~^ ~~~~~~~~~~~~~~ | | | | | int64_t {aka long int} | long long int | %ld ../../mplex/subpstream.cpp: In member function 'virtual void SUBPStream::Close()': ../../mplex/subpstream.cpp:224:45: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'bitcount_t' {aka 'long unsigned int'} [-Wformat=] 224 | mjpeg_info ("Subtitle stream length %lld bytes.", stream_length); | ~~~^ ~~~~~~~~~~~~~ | | | | | bitcount_t {aka long unsigned int} | long long int | %ld ../../mplex/subpstream.cpp: In member function 'virtual unsigned int SUBPStream::ReadPacketPayload(uint8_t*, unsigned int)': ../../mplex/subpstream.cpp:253:66: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'bitcount_t' {aka 'long unsigned int'} [-Wformat=] 253 | mjpeg_debug( "SUBPStream called: ReadPacketPayload at 0x%08lld", read_start); | ~~~~~^ ~~~~~~~~~~ | | | | | bitcount_t {aka long unsigned int} | long long int | %08ld /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -version-info 0:0:0 -release 2.2 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libmplex2.la -rpath /usr/lib64 libmplex2_la-ac3strm_in.lo libmplex2_la-audiostrm_out.lo libmplex2_la-bits.lo libmplex2_la-decodebufmodel.lo libmplex2_la-dtsstrm_in.lo libmplex2_la-inputstrm.lo libmplex2_la-interact.lo libmplex2_la-lpcmstrm_in.lo libmplex2_la-mpastrm_in.lo libmplex2_la-multiplexor.lo libmplex2_la-padstrm.lo libmplex2_la-stillsstream.lo libmplex2_la-stream_params.lo libmplex2_la-systems.lo libmplex2_la-videostrm_in.lo libmplex2_la-videostrm_out.lo libmplex2_la-subpstream.lo ../utils/libmjpegutils.la -lm libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-mageia-linux/15/../../../../lib64/crti.o /usr/lib/gcc/x86_64-mageia-linux/15/crtbeginS.o .libs/libmplex2_la-ac3strm_in.o .libs/libmplex2_la-audiostrm_out.o .libs/libmplex2_la-bits.o .libs/libmplex2_la-decodebufmodel.o .libs/libmplex2_la-dtsstrm_in.o .libs/libmplex2_la-inputstrm.o .libs/libmplex2_la-interact.o .libs/libmplex2_la-lpcmstrm_in.o .libs/libmplex2_la-mpastrm_in.o .libs/libmplex2_la-multiplexor.o .libs/libmplex2_la-padstrm.o .libs/libmplex2_la-stillsstream.o .libs/libmplex2_la-stream_params.o .libs/libmplex2_la-systems.o .libs/libmplex2_la-videostrm_in.o .libs/libmplex2_la-videostrm_out.o .libs/libmplex2_la-subpstream.o -O2 -g -fstack-protector-strong -m64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,-rpath -Wl,/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils/.libs ../utils/.libs/libmjpegutils.so -L/usr/lib/gcc/x86_64-mageia-linux/15 -L/usr/lib/gcc/x86_64-mageia-linux/15/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-mageia-linux/15/../../.. -L/lib -L/usr/lib -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-mageia-linux/15/crtendS.o /usr/lib/gcc/x86_64-mageia-linux/15/../../../../lib64/crtn.o -Wl,-soname -Wl,libmplex2-2.2.so.0 -o .libs/libmplex2-2.2.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libmplex2-2.2.so.0" && ln -s "libmplex2-2.2.so.0.0.0" "libmplex2-2.2.so.0") libtool: link: (cd ".libs" && rm -f "libmplex2.so" && ln -s "libmplex2-2.2.so.0.0.0" "libmplex2.so") libtool: link: ( cd ".libs" && rm -f "libmplex2.la" && ln -s "../libmplex2.la" "libmplex2.la" ) g++ -DHAVE_CONFIG_H -I. -I../../mplex -I.. -I ../.. -I ../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o main.o ../../mplex/main.cpp ../../mplex/main.cpp: In member function 'virtual void FileOutputStream::NextSegment()': ../../mplex/main.cpp:141:5: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 141 | auto_ptr prev_filename_buf( new char[strlen(cur_filename)+1] ); | ^~~~~~~~ In file included from /usr/include/c++/15/memory:80, from ../../mplex/main.cpp:35: /usr/include/c++/15/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mplex main.o libmplex2.la -lm -lm libtool: link: g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/mplex main.o ./.libs/libmplex2.so /home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/utils/.libs/libmjpegutils.so -lm make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/mplex' Making all in scripts make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/scripts' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/scripts' Making all in docs make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/docs' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/docs' Making all in yuvcorrect make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/yuvcorrect' gcc -DHAVE_CONFIG_H -I. -I../../yuvcorrect -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o yuvcorrect.o ../../yuvcorrect/yuvcorrect.c gcc -DHAVE_CONFIG_H -I. -I../../yuvcorrect -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o yuvcorrect_functions.o ../../yuvcorrect/yuvcorrect_functions.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o yuvcorrect yuvcorrect.o yuvcorrect_functions.o ../utils/libmjpegutils.la -lm -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/yuvcorrect yuvcorrect.o yuvcorrect_functions.o ../utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../yuvcorrect -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o yuvcorrect_tune.o ../../yuvcorrect/yuvcorrect_tune.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o yuvcorrect_tune yuvcorrect_tune.o yuvcorrect_functions.o ../utils/libmjpegutils.la -lm -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/yuvcorrect_tune yuvcorrect_tune.o yuvcorrect_functions.o ../utils/.libs/libmjpegutils.so -lm make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/yuvcorrect' Making all in yuvscaler make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/yuvscaler' gcc -DHAVE_CONFIG_H -I. -I../../yuvscaler -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o yuvscaler-yuvscaler.o `test -f 'yuvscaler.c' || echo '../../yuvscaler/'`yuvscaler.c gcc -DHAVE_CONFIG_H -I. -I../../yuvscaler -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o yuvscaler-yuvscaler_resample.o `test -f 'yuvscaler_resample.c' || echo '../../yuvscaler/'`yuvscaler_resample.c gcc -DHAVE_CONFIG_H -I. -I../../yuvscaler -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o yuvscaler-yuvscaler_bicubic.o `test -f 'yuvscaler_bicubic.c' || echo '../../yuvscaler/'`yuvscaler_bicubic.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o yuvscaler yuvscaler-yuvscaler.o yuvscaler-yuvscaler_resample.o yuvscaler-yuvscaler_bicubic.o ../utils/libmjpegutils.la -lm -lm libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/yuvscaler yuvscaler-yuvscaler.o yuvscaler-yuvscaler_resample.o yuvscaler-yuvscaler_bicubic.o ../utils/.libs/libmjpegutils.so -lm make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/yuvscaler' Making all in yuvdenoise make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/yuvdenoise' gcc -DHAVE_CONFIG_H -I. -I../../yuvdenoise -I.. -I../.. -I../../utils -O2 -ffast-math -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o main.o ../../yuvdenoise/main.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -ffast-math -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o yuvdenoise main.o ../utils/libmjpegutils.la -lm libtool: link: gcc -O2 -ffast-math -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/yuvdenoise main.o ../utils/.libs/libmjpegutils.so -lm make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/yuvdenoise' Making all in yuvfilters make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/yuvfilters' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../yuvfilters -I.. -I../../utils -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o addtask.lo ../../yuvfilters/addtask.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../yuvfilters -I.. -I../../utils -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../yuvfilters/addtask.c -fPIC -DPIC -o .libs/addtask.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../yuvfilters -I.. -I../../utils -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o alloctask.lo ../../yuvfilters/alloctask.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../yuvfilters -I.. -I../../utils -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../yuvfilters/alloctask.c -fPIC -DPIC -o .libs/alloctask.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../yuvfilters -I.. -I../../utils -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o initframe.lo ../../yuvfilters/initframe.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../yuvfilters -I.. -I../../utils -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../yuvfilters/initframe.c -fPIC -DPIC -o .libs/initframe.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../yuvfilters -I.. -I../../utils -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o putframe.lo ../../yuvfilters/putframe.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../yuvfilters -I.. -I../../utils -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../yuvfilters/putframe.c -fPIC -DPIC -o .libs/putframe.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../yuvfilters -I.. -I../../utils -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o yuvstdin.lo ../../yuvfilters/yuvstdin.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../yuvfilters -I.. -I../../utils -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../yuvfilters/yuvstdin.c -fPIC -DPIC -o .libs/yuvstdin.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../yuvfilters -I.. -I../../utils -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o yuvstdout.lo ../../yuvfilters/yuvstdout.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../yuvfilters -I.. -I../../utils -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c ../../yuvfilters/yuvstdout.c -fPIC -DPIC -o .libs/yuvstdout.o /bin/sh ../libtool --tag=CC --mode=link gcc -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libyuvfilters.la addtask.lo alloctask.lo initframe.lo putframe.lo yuvstdin.lo yuvstdout.lo -lm libtool: link: ar cru .libs/libyuvfilters.a .libs/addtask.o .libs/alloctask.o .libs/initframe.o .libs/putframe.o .libs/yuvstdin.o .libs/yuvstdout.o libtool: link: ranlib .libs/libyuvfilters.a libtool: link: ( cd ".libs" && rm -f "libyuvfilters.la" && ln -s "../libyuvfilters.la" "libyuvfilters.la" ) gcc -DHAVE_CONFIG_H -I. -I../../yuvfilters -I.. -I../../utils -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o yuvycsnoise.o ../../yuvfilters/yuvycsnoise.c /bin/sh ../libtool --tag=CC --mode=link gcc -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o yuvycsnoise yuvycsnoise.o libyuvfilters.la ../utils/libmjpegutils.la -lm libtool: link: gcc -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/yuvycsnoise yuvycsnoise.o ./.libs/libyuvfilters.a ../utils/.libs/libmjpegutils.so -lm gcc -DHAVE_CONFIG_H -I. -I../../yuvfilters -I.. -I../../utils -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o yuvkineco.o ../../yuvfilters/yuvkineco.c /bin/sh ../libtool --tag=CC --mode=link gcc -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o yuvkineco yuvkineco.o libyuvfilters.la ../utils/libmjpegutils.la -lm libtool: link: gcc -Wno-absolute-value -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/yuvkineco yuvkineco.o ./.libs/libyuvfilters.a ../utils/.libs/libmjpegutils.so -lm make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/yuvfilters' Making all in yuvdeinterlace make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/yuvdeinterlace' g++ -DHAVE_CONFIG_H -I. -I../../yuvdeinterlace -I.. -I../.. -I../../utils -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o yuvdeinterlace.o ../../yuvdeinterlace/yuvdeinterlace.cc /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o yuvdeinterlace yuvdeinterlace.o ../utils/libmjpegutils.la -lm libtool: link: g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/yuvdeinterlace yuvdeinterlace.o ../utils/.libs/libmjpegutils.so -lm make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/yuvdeinterlace' Making all in y4mdenoise make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/y4mdenoise' gcc -DHAVE_CONFIG_H -I. -I../../y4mdenoise -I.. -I../.. -I../../utils -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wunused -c -o main.o ../../y4mdenoise/main.c ../../y4mdenoise/main.c: In function 'main': ../../y4mdenoise/main.c:84:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 84 | if (denoiser.zThresholdCbCr == -1) | ^~ ../../y4mdenoise/main.c:88:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 88 | { | ^ ../../y4mdenoise/main.c:162:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 162 | if (denoiser.interlaced != 0 && (denoiser.frames & 1) != 0) | ^~ ../../y4mdenoise/main.c:167:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 167 | errno = newdenoise_init (denoiser.frames, denoiser.frame.w, | ^~~~~ g++ -DHAVE_CONFIG_H -I. -I../../y4mdenoise -I.. -I../.. -I../../utils -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o newdenoise.o ../../y4mdenoise/newdenoise.cc In file included from ../../y4mdenoise/SetRegion2D.hh:12, from ../../y4mdenoise/MotionSearcher.hh:15, from ../../y4mdenoise/newdenoise.cc:19: ../../y4mdenoise/Region2D.hh: In member function 'void Region2D::UnionDebug(Status_t&, INDEX, INDEX, INDEX, REGION_TEMP&)': ../../y4mdenoise/Region2D.hh:439:34: error: 'class Region2D' has no member named 'DoesContainPoint' [-Wtemplate-body] 439 | || this->DoesContainPoint (rHere.m_tnY, tnX))) | ^~~~~~~~~~~~~~~~ ../../y4mdenoise/Region2D.hh:446:29: error: 'class Region2D' has no member named 'Begin' [-Wtemplate-body] 446 | for (itHere = this->Begin(); itHere != this->End(); ++itHere) | ^~~~~ ../../y4mdenoise/Region2D.hh:446:54: error: 'class Region2D' has no member named 'End' [-Wtemplate-body] 446 | for (itHere = this->Begin(); itHere != this->End(); ++itHere) | ^~~ ../../y4mdenoise/Region2D.hh: In member function 'void Region2D::UnionDebug(Status_t&, REGION_O&, REGION_TEMP&)': ../../y4mdenoise/Region2D.hh:549:35: error: 'class Region2D' has no member named 'DoesContainPoint' [-Wtemplate-body] 549 | && !this->DoesContainPoint (rHere.m_tnY, tnX)) | ^~~~~~~~~~~~~~~~ ../../y4mdenoise/Region2D.hh:556:29: error: 'class Region2D' has no member named 'Begin' [-Wtemplate-body] 556 | for (itHere = this->Begin(); itHere != this->End(); ++itHere) | ^~~~~ ../../y4mdenoise/Region2D.hh:556:54: error: 'class Region2D' has no member named 'End' [-Wtemplate-body] 556 | for (itHere = this->Begin(); itHere != this->End(); ++itHere) | ^~~ ../../y4mdenoise/Region2D.hh: In member function 'void Region2D::SubtractDebug(Status_t&, REGION_O&, REGION_TEMP&)': ../../y4mdenoise/Region2D.hh:635:37: error: 'class Region2D' has no member named 'DoesContainPoint' [-Wtemplate-body] 635 | if (!(this->DoesContainPoint (rHere.m_tnY, tnX) | ^~~~~~~~~~~~~~~~ ../../y4mdenoise/Region2D.hh:643:29: error: 'class Region2D' has no member named 'Begin' [-Wtemplate-body] 643 | for (itHere = this->Begin(); itHere != this->End(); ++itHere) | ^~~~~ ../../y4mdenoise/Region2D.hh:643:54: error: 'class Region2D' has no member named 'End' [-Wtemplate-body] 643 | for (itHere = this->Begin(); itHere != this->End(); ++itHere) | ^~~ make[2]: *** [Makefile:525: newdenoise.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64/y4mdenoise' make[1]: *** [Makefile:568: all-recursive] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mjpegtools-2.2.1-build/mjpegtools-2.2.1/build-x86_64' make: *** [Makefile:475: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.wySzke (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.wySzke (%build) I: [iurt_root_command] ERROR: chroot