checking build system type... riscv64-unknown-linux-gnu checking host system type... riscv64-unknown-linux-gnu checking target system type... riscv64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /build/transcode/src/transcode-1.1.7/autotools/missing: Unknown `--is-lightweight' option Try `/build/transcode/src/transcode-1.1.7/autotools/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a race-free 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 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for gawk... (cached) gawk checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking dependency style of gcc... gcc3 checking for gawk... /usr/bin/gawk checking for dlopen in -ldl... yes checking for dlopen... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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 the maximum length of command line arguments... 1572864 checking how to convert riscv64-unknown-linux-gnu file names to riscv64-unknown-linux-gnu format... func_convert_file_noop checking how to convert riscv64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip 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 mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes 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... yes 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) 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 for shl_load... no checking for shl_load in -ldld... no checking for dlopen... (cached) yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no 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 standard header files... yes checking for endian.h... yes checking for malloc.h... yes checking for sys/mman.h... yes checking for sys/select.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking __attribute__((...)) support... yes checking __attribute__((aligned())) support... 64 checking for GNU libc compatible malloc... yes checking return type of signal handlers... void checking for getopt_long_only... yes checking for getpagesize... yes checking for gettimeofday... yes checking for mmap... yes checking for strlcat... no checking for strlcpy... no checking for strtof... yes checking for vsscanf... yes checking for sysconf(_SC_PAGESIZE)... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for pthreads in -lpthread... yes checking for build architecture... checking if $CC groks MMX inline assembly... yes configure: WARNING: *** All 3DNow dependent parts will be disabled *** configure: WARNING: *** All SSE dependent parts will be disabled *** *** All SSE2 dependent parts will be disabled *** checking if $CC groks AltiVec inline assembly... no checking if $CC groks AltiVec C extensions... no checking if linker needs -framework vecLib... checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.20... 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 XvQueryExtension in -lXv... no checking for XShmQueryExtension in -lX11... yes checking for X11/Xaw/Simple.h... yes checking for XpmFreeAttributes in -lXpm... yes checking for gzopen in -lz... yes checking for sin in -lm... yes checking for ffmpeg support... disabled checking whether libv4l2 support is requested... no checking whether libv4lconvert support is requested... no checking whether libmpeg2 support is requested... yes checking for LIBMPEG2... yes checking whether libmpeg2convert support is requested... yes checking for LIBMPEG2CONVERT... yes checking enable new or experimental components... no checking enable deprecated components... no checking for internal static framebuffer support... yes checking whether v4l support is requested... yes checking for linux/videodev.h... no checking for linux/videodev2.h... yes checking for struct v4l2_buffer in videodev2.h... yes checking whether bktr support is requested... no checking whether sunau support is requested... no checking whether OSS support is requested... no checking whether ALSA support is requested... yes checking for alsa/asoundlib.h... yes checking for encore2.h... no checking whether libpostproc support is requested... no checking whether freetype2 support is requested... yes checking for FREETYPE2... yes checking whether lame support is requested... yes checking for pkgconfig support for lame... no checking how to determine LAME_CFLAGS... default checking how to determine LAME_LIBS... default checking for lame_init in -lmp3lame... yes checking for lame/lame.h... yes checking lame version... 3100 checking whether xvid support is requested... yes checking for pkgconfig support for xvid... no checking how to determine xvid_CFLAGS... default checking for xvid.h... yes checking how to determine xvid_LIBS... default checking for xvid_global in -lxvidcore... yes checking xvid version >= 1.0... yes checking whether x264 support is requested... yes checking for X264... yes checking x264 version... 163 checking whether ogg support is requested... yes checking for OGG... yes checking whether vorbis support is requested... yes checking for VORBIS... yes checking whether theora support is requested... yes checking for THEORA... yes checking whether libdvdread support is requested... yes checking for pkgconfig support for libdvdread... no checking how to determine LIBDVDREAD_CFLAGS... default checking how to determine LIBDVDREAD_LIBS... default checking for DVDOpen in -ldvdread... yes checking for dvdread/dvd_reader.h... yes checking whether pvm3 support is requested... no checking whether libdv support is requested... yes checking for LIBDV... yes checking whether libquicktime support is requested... no checking whether lzo support is requested... yes checking for pkgconfig support for lzo... no checking how to determine LZO_CFLAGS... default checking for lzo/lzo1x.h... yes checking how to determine LZO_LIBS... default checking for lzo_version in -llzo2... yes checking whether a52 support is requested... yes checking for pkgconfig support for a52... no checking how to determine A52_CFLAGS... default checking for a52dec/a52.h... yes checking how to determine A52_LIBS... default checking for a52_init in -la52... yes checking whether faac support is requested... no checking whether libxml2 support is requested... yes checking for LIBXML2... yes checking whether ibp and lors support is requested... no checking whether mjpegtools support is requested... yes checking for MJPEGTOOLS... yes checking whether sdl support is requested... yes checking for SDL... yes checking whether imagemagick support is requested... yes checking for pkgconfig support for imagemagick... yes checking how to determine IMAGEMAGICK_CFLAGS... pkg-config checking for MagickWand/MagickWand.h... yes checking how to determine IMAGEMAGICK_LIBS... pkg-config checking for wand/magick-wand.h... no checking whether libjpegmmx support is requested... no checking whether libjpeg support is requested... yes checking for pkgconfig support for libjpeg... no checking how to determine LIBJPEG_CFLAGS... default checking for jpeglib.h... yes checking how to determine LIBJPEG_LIBS... default checking for jpeg_CreateCompress in -ljpeg... yes checking whether bsdav support is requested... no checking whether iconv support is requested... yes checking for pkgconfig support for iconv... no checking how to determine ICONV_CFLAGS... default checking for iconv.h... yes checking how to determine ICONV_LIBS... default checking for iconv_open in -liconv... no checking for libiconv_open in -liconv... no checking for iconv_open in -lc... yes checking for PV3 support... no checking for NuppelVideo support... no checking if gcc supports -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto flags... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating aclib/Makefile config.status: creating avilib/Makefile config.status: creating docs/Makefile config.status: creating docs/html/Makefile config.status: creating docs/man/Makefile config.status: creating docs/pvm3/Makefile config.status: creating docs/tech/Makefile config.status: creating docs/tech/html/Makefile config.status: creating encode/Makefile config.status: creating export/Makefile config.status: creating filter/Makefile config.status: creating filter/divxkey/Makefile config.status: creating filter/extsub/Makefile config.status: creating filter/preview/Makefile config.status: creating filter/subtitler/Makefile config.status: creating filter/tomsmocomp/Makefile config.status: creating filter/yuvdenoise/Makefile config.status: creating filter/stabilize/Makefile config.status: creating import/Makefile config.status: creating import/framegen/Makefile config.status: creating import/nuv/Makefile config.status: creating import/v4l/Makefile config.status: creating multiplex/Makefile config.status: creating libdldarwin/Makefile config.status: creating libtc/Makefile config.status: creating libtcaudio/Makefile config.status: creating libtcvideo/Makefile config.status: creating pvm3/Makefile config.status: creating src/Makefile config.status: creating testsuite/Makefile config.status: creating tools/Makefile config.status: creating transcode.spec config.status: creating filter/parse_csv.awk config.status: creating filter/filter_list.awk config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands ---------------------------------------- Summary for transcode 1.1.7: ---------------------------------------- core options ---------------------------------------- enable experimental code no enable deprecated code no static AV-frame buffering yes A52 default decoder yes FFmpeg support no hardware support ---------------------------------------- v4l (legacy) no v4l2 yes ALSA yes OSS no bktr no sunau no optional module support ---------------------------------------- PV3 no NuppelVideo no optional package support ---------------------------------------- IBP (libxio) no X11 yes Xv extension no Xshm extension yes Xaw library yes Xpm library yes libavcodec no libavformat no libv4l2 no libv4lconvert no libmpeg2 yes libmpeg2convert yes libpostproc no freetype2 yes lame yes xvid yes x264 yes ogg yes vorbis yes theora yes libdvdread yes pvm3 no libdv yes libquicktime no lzo yes a52 yes faac no libxml2 yes mjpegtools yes sdl yes imagemagick yes libjpeg yes bsdav no iconv yes /usr/bin/make all-recursive make[1]: Entering directory '/build/transcode/src/transcode-1.1.7' Making all in aclib make[2]: Entering directory '/build/transcode/src/transcode-1.1.7/aclib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT accore.lo -MD -MP -MF .deps/accore.Tpo -c -o accore.lo accore.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT average.lo -MD -MP -MF .deps/average.Tpo -c -o average.lo average.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT imgconvert.lo -MD -MP -MF .deps/imgconvert.Tpo -c -o imgconvert.lo imgconvert.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT img_rgb_packed.lo -MD -MP -MF .deps/img_rgb_packed.Tpo -c -o img_rgb_packed.lo img_rgb_packed.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT img_yuv_mixed.lo -MD -MP -MF .deps/img_yuv_mixed.Tpo -c -o img_yuv_mixed.lo img_yuv_mixed.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT img_yuv_packed.lo -MD -MP -MF .deps/img_yuv_packed.Tpo -c -o img_yuv_packed.lo img_yuv_packed.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT img_yuv_planar.lo -MD -MP -MF .deps/img_yuv_planar.Tpo -c -o img_yuv_planar.lo img_yuv_planar.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT img_yuv_rgb.lo -MD -MP -MF .deps/img_yuv_rgb.Tpo -c -o img_yuv_rgb.lo img_yuv_rgb.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT img_yuv_mixed.lo -MD -MP -MF .deps/img_yuv_mixed.Tpo -c img_yuv_mixed.c -fPIC -DPIC -o .libs/img_yuv_mixed.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT img_yuv_rgb.lo -MD -MP -MF .deps/img_yuv_rgb.Tpo -c img_yuv_rgb.c -fPIC -DPIC -o .libs/img_yuv_rgb.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT img_yuv_planar.lo -MD -MP -MF .deps/img_yuv_planar.Tpo -c img_yuv_planar.c -fPIC -DPIC -o .libs/img_yuv_planar.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT imgconvert.lo -MD -MP -MF .deps/imgconvert.Tpo -c imgconvert.c -fPIC -DPIC -o .libs/imgconvert.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT img_rgb_packed.lo -MD -MP -MF .deps/img_rgb_packed.Tpo -c img_rgb_packed.c -fPIC -DPIC -o .libs/img_rgb_packed.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT average.lo -MD -MP -MF .deps/average.Tpo -c average.c -fPIC -DPIC -o .libs/average.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT img_yuv_packed.lo -MD -MP -MF .deps/img_yuv_packed.Tpo -c img_yuv_packed.c -fPIC -DPIC -o .libs/img_yuv_packed.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT accore.lo -MD -MP -MF .deps/accore.Tpo -c accore.c -fPIC -DPIC -o .libs/accore.o accore.c: In function ‘ac_parseflags’: accore.c:107:21: warning: unused variable ‘done’ [-Wunused-variable] 107 | int parsed = 1, done = 0; | ^~~~ mv -f .deps/average.Tpo .deps/average.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT memcpy.lo -MD -MP -MF .deps/memcpy.Tpo -c -o memcpy.lo memcpy.c mv -f .deps/img_yuv_packed.Tpo .deps/img_yuv_packed.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT rescale.lo -MD -MP -MF .deps/rescale.Tpo -c -o rescale.lo rescale.c img_yuv_rgb.c:421:70: warning: ‘gray_data’ defined but not used [-Wunused-const-variable=] 421 | static const struct { uint16_t n[32]; } __attribute__((aligned(16))) gray_data = {{ | ^~~~~~~~~ img_yuv_rgb.c:405:70: warning: ‘rgb_data’ defined but not used [-Wunused-const-variable=] 405 | static const struct { uint16_t n[96]; } __attribute__((aligned(16))) rgb_data = {{ | ^~~~~~~~ img_yuv_rgb.c:392:70: warning: ‘yuv_data’ defined but not used [-Wunused-const-variable=] 392 | static const struct { uint16_t n[72]; } __attribute__((aligned(16))) yuv_data = {{ | ^~~~~~~~ mv -f .deps/accore.Tpo .deps/accore.Plo mv -f .deps/img_yuv_mixed.Tpo .deps/img_yuv_mixed.Plo mv -f .deps/img_rgb_packed.Tpo .deps/img_rgb_packed.Plo mv -f .deps/imgconvert.Tpo .deps/imgconvert.Plo mv -f .deps/img_yuv_planar.Tpo .deps/img_yuv_planar.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT memcpy.lo -MD -MP -MF .deps/memcpy.Tpo -c memcpy.c -fPIC -DPIC -o .libs/memcpy.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT rescale.lo -MD -MP -MF .deps/rescale.Tpo -c rescale.c -fPIC -DPIC -o .libs/rescale.o mv -f .deps/memcpy.Tpo .deps/memcpy.Plo mv -f .deps/rescale.Tpo .deps/rescale.Plo mv -f .deps/img_yuv_rgb.Tpo .deps/img_yuv_rgb.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o libac.la accore.lo average.lo imgconvert.lo img_rgb_packed.lo img_yuv_mixed.lo img_yuv_packed.lo img_yuv_planar.lo img_yuv_rgb.lo memcpy.lo rescale.lo -lm -lz -ldl libtool: link: ar cr .libs/libac.a .libs/accore.o .libs/average.o .libs/imgconvert.o .libs/img_rgb_packed.o .libs/img_yuv_mixed.o .libs/img_yuv_packed.o .libs/img_yuv_planar.o .libs/img_yuv_rgb.o .libs/memcpy.o .libs/rescale.o libtool: link: ranlib .libs/libac.a libtool: link: ( cd ".libs" && rm -f "libac.la" && ln -s "../libac.la" "libac.la" ) make[2]: Leaving directory '/build/transcode/src/transcode-1.1.7/aclib' Making all in avilib make[2]: Entering directory '/build/transcode/src/transcode-1.1.7/avilib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I../libtc -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT platform_posix.lo -MD -MP -MF .deps/platform_posix.Tpo -c -o platform_posix.lo platform_posix.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I../libtc -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT avidump.lo -MD -MP -MF .deps/avidump.Tpo -c -o avidump.lo avidump.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I../libtc -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT avilib.lo -MD -MP -MF .deps/avilib.Tpo -c -o avilib.lo avilib.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I../libtc -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT wavlib.lo -MD -MP -MF .deps/wavlib.Tpo -c -o wavlib.lo wavlib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I../libtc -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT wavlib.lo -MD -MP -MF .deps/wavlib.Tpo -c wavlib.c -fPIC -DPIC -o .libs/wavlib.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I../libtc -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT avidump.lo -MD -MP -MF .deps/avidump.Tpo -c avidump.c -fPIC -DPIC -o .libs/avidump.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I../libtc -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT avilib.lo -MD -MP -MF .deps/avilib.Tpo -c avilib.c -fPIC -DPIC -o .libs/avilib.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I../libtc -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT platform_posix.lo -MD -MP -MF .deps/platform_posix.Tpo -c platform_posix.c -fPIC -DPIC -o .libs/platform_posix.o avidump.c: In function ‘ProcessChunk’: avilib.c: In function ‘avi_ixnn_entry’: avidump.c:594:49: warning: expression does not compute the number of elements in this array; element type is ‘struct VAL’, not ‘char *’ [-Wsizeof-array-div] 594 | dump_vals(fd,sizeof(names_strf_auds)/sizeof(char*),names_strf_auds); | ^ avidump.c:594:49: note: add parentheses around the second ‘sizeof’ to silence this warning avidump.c:208:12: note: array ‘names_strf_auds’ declared here 208 | struct VAL names_strf_auds[] = { | ^~~~~~~~~~~~~~~ avidump.c:603:45: warning: expression does not compute the number of elements in this array; element type is ‘struct VAL’, not ‘char *’ [-Wsizeof-array-div] 603 | dump_vals(fd,sizeof(names_strf_auds)/sizeof(char*),names_strf_auds); | ^ avidump.c:603:45: note: add parentheses around the second ‘sizeof’ to silence this warning avidump.c:208:12: note: array ‘names_strf_auds’ declared here 208 | struct VAL names_strf_auds[] = { | ^~~~~~~~~~~~~~~ avilib.c:176:30: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness [-Wpointer-sign] 176 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:210:5: note: in expansion of macro ‘OUTD’ 210 | OUTD(ch->nEntriesInUse); | ^~~~ avilib.c:77:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 77 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avidump.c:607:54: warning: expression does not compute the number of elements in this array; element type is ‘struct VAL’, not ‘char *’ [-Wsizeof-array-div] 607 | uint32_t chunks=*chunksize-sizeof(names_indx)/sizeof(char*); | ^ avidump.c:607:54: note: add parentheses around the second ‘sizeof’ to silence this warning avidump.c:236:12: note: array ‘names_indx’ declared here 236 | struct VAL names_indx[] = { | ^~~~~~~~~~ avilib.c:176:30: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness [-Wpointer-sign] 176 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:212:5: note: in expansion of macro ‘OUTD’ 212 | OUTD(ch->qwBaseOffset&0xffffffff); | ^~~~ avilib.c:77:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 77 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avidump.c:612:40: warning: expression does not compute the number of elements in this array; element type is ‘struct VAL’, not ‘char *’ [-Wsizeof-array-div] 612 | dump_vals(fd,sizeof(names_indx)/sizeof(char*),names_indx); | ^ avidump.c:612:40: note: add parentheses around the second ‘sizeof’ to silence this warning avidump.c:236:12: note: array ‘names_indx’ declared here 236 | struct VAL names_indx[] = { | ^~~~~~~~~~ avilib.c:176:30: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness [-Wpointer-sign] 176 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:213:5: note: in expansion of macro ‘OUTD’ 213 | OUTD((ch->qwBaseOffset>>32)&0xffffffff); | ^~~~ avilib.c:77:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 77 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:176:30: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness [-Wpointer-sign] 176 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:214:5: note: in expansion of macro ‘OUTD’ 214 | OUTD(ch->dwReserved3); | ^~~~ avilib.c:77:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 77 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:176:30: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness [-Wpointer-sign] 176 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:217:9: note: in expansion of macro ‘OUTD’ 217 | OUTD(ch->aIndex[k].dwOffset); | ^~~~ avidump.c:632:56: warning: expression does not compute the number of elements in this array; element type is ‘struct VAL’, not ‘char *’ [-Wsizeof-array-div] 632 | uint32_t chunks=*chunksize-sizeof(names_stdidx)/sizeof(char*); | ^ avilib.c:77:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 77 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avidump.c:632:56: note: add parentheses around the second ‘sizeof’ to silence this warning avidump.c:247:12: note: array ‘names_stdidx’ declared here 247 | struct VAL names_stdidx[] = { | ^~~~~~~~~~~~ avilib.c:176:30: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness [-Wpointer-sign] 176 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:218:13: note: in expansion of macro ‘OUTD’ 218 | OUTD(ch->aIndex[k].dwSize); | ^~~~ avilib.c:77:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 77 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avidump.c:636:42: warning: expression does not compute the number of elements in this array; element type is ‘struct VAL’, not ‘char *’ [-Wsizeof-array-div] 636 | dump_vals(fd,sizeof(names_stdidx)/sizeof(char*),names_stdidx); | ^ avidump.c:636:42: note: add parentheses around the second ‘sizeof’ to silence this warning avidump.c:247:12: note: array ‘names_stdidx’ declared here 247 | struct VAL names_stdidx[] = { | ^~~~~~~~~~~~ avilib.c:220:26: warning: pointer targets in passing argument 2 of ‘avi_add_chunk’ differ in signedness [-Wpointer-sign] 220 | avi_add_chunk(AVI, ch->fcc, ix00, max); | ~~^~~~~ | | | char * avilib.c:143:59: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 143 | static int avi_add_chunk(avi_t *AVI, const unsigned char *tag, | ~~~~~~~~~~~~~~~~~~~~~^~~ avilib.c:220:33: warning: pointer targets in passing argument 3 of ‘avi_add_chunk’ differ in signedness [-Wpointer-sign] 220 | avi_add_chunk(AVI, ch->fcc, ix00, max); | ^~~~ | | | char * avilib.c:144:47: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 144 | const unsigned char *data, int length) | ~~~~~~~~~~~~~~~~~~~~~^~~~ avidump.c:473:11: warning: variable ‘tt’ set but not used [-Wunused-but-set-variable] 473 | off_t tt; | ^~ avilib.c: In function ‘avi_add_odml_index_entry’: avilib.c:338:26: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 338 | int audio = (strchr (tag, 'w')?1:0); | ^~~ | | | const unsigned char * In file included from avilib.h:38, from avilib.c:38: /usr/include/string.h:230:34: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ avilib.c:348:43: warning: pointer targets in passing argument 2 of ‘avi_init_super_index’ differ in signedness [-Wpointer-sign] 348 | if (avi_init_super_index(AVI, "ix00", &AVI->video_superindex) < 0) return -1; | ^~~~~~ | | | char * avilib.c:232:66: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 232 | static int avi_init_super_index(avi_t *AVI, const unsigned char *idxtag, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ avilib.c:352:41: warning: pointer targets in passing argument 2 of ‘avi_add_std_index’ differ in signedness [-Wpointer-sign] 352 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * avilib.c:276:63: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 276 | static int avi_add_std_index(avi_t *AVI, const unsigned char *idxtag, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ avilib.c:352:49: warning: pointer targets in passing argument 3 of ‘avi_add_std_index’ differ in signedness [-Wpointer-sign] 352 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * avilib.c:277:51: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 277 | const unsigned char *strtag, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ avilib.c:366:43: warning: pointer targets in passing argument 2 of ‘avi_init_super_index’ differ in signedness [-Wpointer-sign] 366 | if (avi_init_super_index(AVI, fcc, &AVI->track[AVI->aptr].audio_superindex) < 0) return -1; | ^~~ | | | char * avilib.c:232:66: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 232 | static int avi_init_super_index(avi_t *AVI, const unsigned char *idxtag, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ avilib.c:372:41: warning: pointer targets in passing argument 2 of ‘avi_add_std_index’ differ in signedness [-Wpointer-sign] 372 | if (avi_add_std_index (AVI, fcc, tag, AVI->track[AVI->aptr].audio_superindex->stdindex[ | ^~~ | | | char * avilib.c:276:63: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 276 | static int avi_add_std_index(avi_t *AVI, const unsigned char *idxtag, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ avilib.c:422:37: warning: pointer targets in passing argument 2 of ‘avi_add_std_index’ differ in signedness [-Wpointer-sign] 422 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * avilib.c:276:63: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 276 | static int avi_add_std_index(avi_t *AVI, const unsigned char *idxtag, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ avilib.c:422:45: warning: pointer targets in passing argument 3 of ‘avi_add_std_index’ differ in signedness [-Wpointer-sign] 422 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * avilib.c:277:51: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 277 | const unsigned char *strtag, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ avilib.c:435:41: warning: pointer targets in passing argument 2 of ‘avi_add_std_index’ differ in signedness [-Wpointer-sign] 435 | if (avi_add_std_index (AVI, fcc, aud, AVI->track[audtr].audio_superindex->stdindex[ | ^~~ | | | char * avilib.c:276:63: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 276 | static int avi_add_std_index(avi_t *AVI, const unsigned char *idxtag, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ avilib.c:435:46: warning: pointer targets in passing argument 3 of ‘avi_add_std_index’ differ in signedness [-Wpointer-sign] 435 | if (avi_add_std_index (AVI, fcc, aud, AVI->track[audtr].audio_superindex->stdindex[ | ^~~ | | | char * avilib.c:277:51: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 277 | const unsigned char *strtag, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ avilib.c:472:57: warning: pointer targets in passing argument 3 of ‘avi_add_chunk’ differ in signedness [-Wpointer-sign] 472 | avi_add_chunk(AVI, (unsigned char *)"RIFF", "AVIXLIST\0\0\0\0movi", 16); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * avilib.c:144:47: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 144 | const unsigned char *data, int length) | ~~~~~~~~~~~~~~~~~~~~~^~~~ avilib.c: In function ‘avi_update_header’: avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:720:4: note: in expansion of macro ‘OUT4CC’ 720 | OUT4CC ("RIFF"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:720:4: note: in expansion of macro ‘OUT4CC’ 720 | OUT4CC ("RIFF"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:721:4: note: in expansion of macro ‘OUTLONG’ 721 | OUTLONG(movi_len); // assume max size | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:721:4: note: in expansion of macro ‘OUTLONG’ 721 | OUTLONG(movi_len); // assume max size | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:722:4: note: in expansion of macro ‘OUT4CC’ 722 | OUT4CC ("AVI "); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:722:4: note: in expansion of macro ‘OUT4CC’ 722 | OUT4CC ("AVI "); | ^~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:726:4: note: in expansion of macro ‘OUT4CC’ 726 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:726:4: note: in expansion of macro ‘OUT4CC’ 726 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:727:4: note: in expansion of macro ‘OUTLONG’ 727 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:727:4: note: in expansion of macro ‘OUTLONG’ 727 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:729:4: note: in expansion of macro ‘OUT4CC’ 729 | OUT4CC ("hdrl"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:729:4: note: in expansion of macro ‘OUT4CC’ 729 | OUT4CC ("hdrl"); | ^~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:742:4: note: in expansion of macro ‘OUT4CC’ 742 | OUT4CC ("avih"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:742:4: note: in expansion of macro ‘OUT4CC’ 742 | OUT4CC ("avih"); | ^~~~~~ In file included from avidump.c:40: ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:581:9: note: in expansion of macro ‘xio_read’ 581 | xio_read(fd, &fcc_type,sizeof(FOURCC)); | ^~~~~~~~ ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:615:13: note: in expansion of macro ‘xio_read’ 615 | xio_read(fd, &offset,8); | ^~~~~~~~ ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:616:13: note: in expansion of macro ‘xio_read’ 616 | xio_read(fd, &size, 4); | ^~~~~~~~ ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:617:13: note: in expansion of macro ‘xio_read’ 617 | xio_read(fd, &duration,4); | ^~~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:743:4: note: in expansion of macro ‘OUTLONG’ 743 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:639:13: note: in expansion of macro ‘xio_read’ 639 | xio_read(fd, &offset,4); | ^~~~~~~~ ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:640:13: note: in expansion of macro ‘xio_read’ 640 | xio_read(fd, &size, 4); | ^~~~~~~~ ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:663:13: note: in expansion of macro ‘xio_read’ 663 | xio_read(fd, &val32,4); | ^~~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:743:4: note: in expansion of macro ‘OUTLONG’ 743 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:679:13: note: in expansion of macro ‘xio_read’ 679 | xio_read(fd, &val32, 4); | ^~~~~~~~ ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:684:13: note: in expansion of macro ‘xio_read’ 684 | xio_read(fd, &val32, 4); | ^~~~~~~~ ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:689:13: note: in expansion of macro ‘xio_read’ 689 | xio_read(fd, &val32, 4); | ^~~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:744:4: note: in expansion of macro ‘OUTLONG’ 744 | OUTLONG(ms_per_frame); /* Microseconds per frame */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:744:4: note: in expansion of macro ‘OUTLONG’ 744 | OUTLONG(ms_per_frame); /* Microseconds per frame */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:747:4: note: in expansion of macro ‘OUTLONG’ 747 | OUTLONG(0); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:747:4: note: in expansion of macro ‘OUTLONG’ 747 | OUTLONG(0); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:748:4: note: in expansion of macro ‘OUTLONG’ 748 | OUTLONG(0); /* PaddingGranularity (whatever that might be) */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:748:4: note: in expansion of macro ‘OUTLONG’ 748 | OUTLONG(0); /* PaddingGranularity (whatever that might be) */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:753:4: note: in expansion of macro ‘OUTLONG’ 753 | OUTLONG(flag); /* Flags */ | ^~~~~~~ avidump.c: In function ‘dump_vals’: ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:329:13: note: in expansion of macro ‘xio_read’ 329 | xio_read(fd, &val8, 1); | ^~~~~~~~ ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:333:13: note: in expansion of macro ‘xio_read’ 333 | xio_read(fd, &val64, 8); | ^~~~~~~~ ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:338:13: note: in expansion of macro ‘xio_read’ 338 | xio_read(fd, &val32, 4); | ^~~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:753:4: note: in expansion of macro ‘OUTLONG’ 753 | OUTLONG(flag); /* Flags */ | ^~~~~~~ ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:343:13: note: in expansion of macro ‘xio_read’ 343 | xio_read(fd, &val32,4); | ^~~~~~~~ ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:357:13: note: in expansion of macro ‘xio_read’ 357 | xio_read(fd, &val32,4); | ^~~~~~~~ ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:370:13: note: in expansion of macro ‘xio_read’ 370 | xio_read(fd, &val32,4); | ^~~~~~~~ ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:381:13: note: in expansion of macro ‘xio_read’ 381 | xio_read(fd, &val16,2); | ^~~~~~~~ ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:387:13: note: in expansion of macro ‘xio_read’ 387 | xio_read(fd, &val16,2); | ^~~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:754:4: note: in expansion of macro ‘OUTLONG’ 754 | OUTLONG(0); // no frames yet | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:754:4: note: in expansion of macro ‘OUTLONG’ 754 | OUTLONG(0); // no frames yet | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:755:4: note: in expansion of macro ‘OUTLONG’ 755 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avidump.c: In function ‘DumpChunk’: ../libtc/xio.h:44:18: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | #define xio_read read avidump.c:761:7: note: in expansion of macro ‘xio_read’ 761 | xio_read(fd, &formtype,sizeof(FOURCC)); /* read the form type */ | ^~~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:755:4: note: in expansion of macro ‘OUTLONG’ 755 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:757:4: note: in expansion of macro ‘OUTLONG’ 757 | OUTLONG(AVI->anum+1); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:757:4: note: in expansion of macro ‘OUTLONG’ 757 | OUTLONG(AVI->anum+1); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:759:4: note: in expansion of macro ‘OUTLONG’ 759 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:759:4: note: in expansion of macro ‘OUTLONG’ 759 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:760:4: note: in expansion of macro ‘OUTLONG’ 760 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:760:4: note: in expansion of macro ‘OUTLONG’ 760 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:761:4: note: in expansion of macro ‘OUTLONG’ 761 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:761:4: note: in expansion of macro ‘OUTLONG’ 761 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:763:4: note: in expansion of macro ‘OUTLONG’ 763 | OUTLONG(0); /* TimeScale: Unit used to measure time */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:763:4: note: in expansion of macro ‘OUTLONG’ 763 | OUTLONG(0); /* TimeScale: Unit used to measure time */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:764:4: note: in expansion of macro ‘OUTLONG’ 764 | OUTLONG(0); /* DataRate: Data rate of playback */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:764:4: note: in expansion of macro ‘OUTLONG’ 764 | OUTLONG(0); /* DataRate: Data rate of playback */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:765:4: note: in expansion of macro ‘OUTLONG’ 765 | OUTLONG(0); /* StartTime: Starting time of AVI data */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:765:4: note: in expansion of macro ‘OUTLONG’ 765 | OUTLONG(0); /* StartTime: Starting time of AVI data */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:766:4: note: in expansion of macro ‘OUTLONG’ 766 | OUTLONG(0); /* DataLength: Size of AVI data chunk */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:766:4: note: in expansion of macro ‘OUTLONG’ 766 | OUTLONG(0); /* DataLength: Size of AVI data chunk */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:771:4: note: in expansion of macro ‘OUT4CC’ 771 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:771:4: note: in expansion of macro ‘OUT4CC’ 771 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:772:4: note: in expansion of macro ‘OUTLONG’ 772 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:772:4: note: in expansion of macro ‘OUTLONG’ 772 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:774:4: note: in expansion of macro ‘OUT4CC’ 774 | OUT4CC ("strl"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:774:4: note: in expansion of macro ‘OUT4CC’ 774 | OUT4CC ("strl"); | ^~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:778:4: note: in expansion of macro ‘OUT4CC’ 778 | OUT4CC ("strh"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:778:4: note: in expansion of macro ‘OUT4CC’ 778 | OUT4CC ("strh"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:779:4: note: in expansion of macro ‘OUTLONG’ 779 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:779:4: note: in expansion of macro ‘OUTLONG’ 779 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:780:4: note: in expansion of macro ‘OUT4CC’ 780 | OUT4CC ("vids"); /* Type */ | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:780:4: note: in expansion of macro ‘OUT4CC’ 780 | OUT4CC ("vids"); /* Type */ | ^~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:781:4: note: in expansion of macro ‘OUT4CC’ 781 | OUT4CC (AVI->compressor); /* Handler */ | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:781:4: note: in expansion of macro ‘OUT4CC’ 781 | OUT4CC (AVI->compressor); /* Handler */ | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:782:4: note: in expansion of macro ‘OUTLONG’ 782 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:782:4: note: in expansion of macro ‘OUTLONG’ 782 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:783:4: note: in expansion of macro ‘OUTLONG’ 783 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:783:4: note: in expansion of macro ‘OUTLONG’ 783 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:784:4: note: in expansion of macro ‘OUTLONG’ 784 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:784:4: note: in expansion of macro ‘OUTLONG’ 784 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:785:4: note: in expansion of macro ‘OUTLONG’ 785 | OUTLONG(FRAME_RATE_SCALE); /* Scale */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:785:4: note: in expansion of macro ‘OUTLONG’ 785 | OUTLONG(FRAME_RATE_SCALE); /* Scale */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:786:4: note: in expansion of macro ‘OUTLONG’ 786 | OUTLONG(frate); /* Rate: Rate/Scale == samples/second */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:786:4: note: in expansion of macro ‘OUTLONG’ 786 | OUTLONG(frate); /* Rate: Rate/Scale == samples/second */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:787:4: note: in expansion of macro ‘OUTLONG’ 787 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:787:4: note: in expansion of macro ‘OUTLONG’ 787 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:788:4: note: in expansion of macro ‘OUTLONG’ 788 | OUTLONG(0); // no frames yet | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:788:4: note: in expansion of macro ‘OUTLONG’ 788 | OUTLONG(0); // no frames yet | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:789:4: note: in expansion of macro ‘OUTLONG’ 789 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:789:4: note: in expansion of macro ‘OUTLONG’ 789 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:790:4: note: in expansion of macro ‘OUTLONG’ 790 | OUTLONG(-1); /* Quality */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:790:4: note: in expansion of macro ‘OUTLONG’ 790 | OUTLONG(-1); /* Quality */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:791:4: note: in expansion of macro ‘OUTLONG’ 791 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:791:4: note: in expansion of macro ‘OUTLONG’ 791 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:792:4: note: in expansion of macro ‘OUTLONG’ 792 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:792:4: note: in expansion of macro ‘OUTLONG’ 792 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:793:4: note: in expansion of macro ‘OUTLONG’ 793 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:793:4: note: in expansion of macro ‘OUTLONG’ 793 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:802:4: note: in expansion of macro ‘OUT4CC’ 802 | OUT4CC ("strf"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:802:4: note: in expansion of macro ‘OUT4CC’ 802 | OUT4CC ("strf"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:803:4: note: in expansion of macro ‘OUTLONG’ 803 | OUTLONG(40 + xd_size_align2);/* # of bytes to follow */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:803:4: note: in expansion of macro ‘OUTLONG’ 803 | OUTLONG(40 + xd_size_align2);/* # of bytes to follow */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:804:4: note: in expansion of macro ‘OUTLONG’ 804 | OUTLONG(40 + xd_size); /* Size */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:804:4: note: in expansion of macro ‘OUTLONG’ 804 | OUTLONG(40 + xd_size); /* Size */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:805:4: note: in expansion of macro ‘OUTLONG’ 805 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:805:4: note: in expansion of macro ‘OUTLONG’ 805 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:806:4: note: in expansion of macro ‘OUTLONG’ 806 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:806:4: note: in expansion of macro ‘OUTLONG’ 806 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:808:4: note: in expansion of macro ‘OUT4CC’ 808 | OUT4CC (AVI->compressor); /* Compression */ | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:808:4: note: in expansion of macro ‘OUT4CC’ 808 | OUT4CC (AVI->compressor); /* Compression */ | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:810:4: note: in expansion of macro ‘OUTLONG’ 810 | OUTLONG(AVI->width*AVI->height*3); /* SizeImage (in bytes?) */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:810:4: note: in expansion of macro ‘OUTLONG’ 810 | OUTLONG(AVI->width*AVI->height*3); /* SizeImage (in bytes?) */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:811:4: note: in expansion of macro ‘OUTLONG’ 811 | OUTLONG(0); /* XPelsPerMeter */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:811:4: note: in expansion of macro ‘OUTLONG’ 811 | OUTLONG(0); /* XPelsPerMeter */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:812:4: note: in expansion of macro ‘OUTLONG’ 812 | OUTLONG(0); /* YPelsPerMeter */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:812:4: note: in expansion of macro ‘OUTLONG’ 812 | OUTLONG(0); /* YPelsPerMeter */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:813:4: note: in expansion of macro ‘OUTLONG’ 813 | OUTLONG(0); /* ClrUsed: Number of colors used */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:813:4: note: in expansion of macro ‘OUTLONG’ 813 | OUTLONG(0); /* ClrUsed: Number of colors used */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:814:4: note: in expansion of macro ‘OUTLONG’ 814 | OUTLONG(0); /* ClrImportant: Number of colors important */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:814:4: note: in expansion of macro ‘OUTLONG’ 814 | OUTLONG(0); /* ClrImportant: Number of colors important */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:835:8: note: in expansion of macro ‘OUT4CC’ 835 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:835:8: note: in expansion of macro ‘OUT4CC’ 835 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:836:8: note: in expansion of macro ‘OUTLONG’ 836 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:836:8: note: in expansion of macro ‘OUTLONG’ 836 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:838:8: note: in expansion of macro ‘OUT4CC’ 838 | OUT4CC ("strl"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:838:8: note: in expansion of macro ‘OUT4CC’ 838 | OUT4CC ("strl"); | ^~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:842:8: note: in expansion of macro ‘OUT4CC’ 842 | OUT4CC ("strh"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:842:8: note: in expansion of macro ‘OUT4CC’ 842 | OUT4CC ("strh"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:843:8: note: in expansion of macro ‘OUTLONG’ 843 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:843:8: note: in expansion of macro ‘OUTLONG’ 843 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:844:8: note: in expansion of macro ‘OUT4CC’ 844 | OUT4CC ("auds"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:844:8: note: in expansion of macro ‘OUT4CC’ 844 | OUT4CC ("auds"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:848:8: note: in expansion of macro ‘OUTLONG’ 848 | OUTLONG(0); /* Format (Optionally) */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:848:8: note: in expansion of macro ‘OUTLONG’ 848 | OUTLONG(0); /* Format (Optionally) */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:851:8: note: in expansion of macro ‘OUTLONG’ 851 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:851:8: note: in expansion of macro ‘OUTLONG’ 851 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:852:8: note: in expansion of macro ‘OUTLONG’ 852 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:852:8: note: in expansion of macro ‘OUTLONG’ 852 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:853:8: note: in expansion of macro ‘OUTLONG’ 853 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:853:8: note: in expansion of macro ‘OUTLONG’ 853 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:856:8: note: in expansion of macro ‘OUTLONG’ 856 | OUTLONG(sampsize/4); /* Scale */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:856:8: note: in expansion of macro ‘OUTLONG’ 856 | OUTLONG(sampsize/4); /* Scale */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:857:8: note: in expansion of macro ‘OUTLONG’ 857 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:857:8: note: in expansion of macro ‘OUTLONG’ 857 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:858:8: note: in expansion of macro ‘OUTLONG’ 858 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:858:8: note: in expansion of macro ‘OUTLONG’ 858 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:859:8: note: in expansion of macro ‘OUTLONG’ 859 | OUTLONG(4*AVI->track[j].audio_bytes/sampsize); /* Length */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:859:8: note: in expansion of macro ‘OUTLONG’ 859 | OUTLONG(4*AVI->track[j].audio_bytes/sampsize); /* Length */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:860:8: note: in expansion of macro ‘OUTLONG’ 860 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:860:8: note: in expansion of macro ‘OUTLONG’ 860 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:861:8: note: in expansion of macro ‘OUTLONG’ 861 | OUTLONG(-1); /* Quality */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:861:8: note: in expansion of macro ‘OUTLONG’ 861 | OUTLONG(-1); /* Quality */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:864:8: note: in expansion of macro ‘OUTLONG’ 864 | OUTLONG(sampsize/4); /* SampleSize */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:864:8: note: in expansion of macro ‘OUTLONG’ 864 | OUTLONG(sampsize/4); /* SampleSize */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:866:8: note: in expansion of macro ‘OUTLONG’ 866 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:866:8: note: in expansion of macro ‘OUTLONG’ 866 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:867:8: note: in expansion of macro ‘OUTLONG’ 867 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:867:8: note: in expansion of macro ‘OUTLONG’ 867 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:873:8: note: in expansion of macro ‘OUT4CC’ 873 | OUT4CC ("strf"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:873:8: note: in expansion of macro ‘OUT4CC’ 873 | OUT4CC ("strf"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:874:8: note: in expansion of macro ‘OUTLONG’ 874 | OUTLONG(16); /* # of bytes to follow */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:874:8: note: in expansion of macro ‘OUTLONG’ 874 | OUTLONG(16); /* # of bytes to follow */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:877:8: note: in expansion of macro ‘OUTLONG’ 877 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:877:8: note: in expansion of macro ‘OUTLONG’ 877 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:879:8: note: in expansion of macro ‘OUTLONG’ 879 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:879:8: note: in expansion of macro ‘OUTLONG’ 879 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:912:4: note: in expansion of macro ‘OUT4CC’ 912 | OUT4CC ("JUNK"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:912:4: note: in expansion of macro ‘OUT4CC’ 912 | OUT4CC ("JUNK"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:913:4: note: in expansion of macro ‘OUTLONG’ 913 | OUTLONG(njunk); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:913:4: note: in expansion of macro ‘OUTLONG’ 913 | OUTLONG(njunk); | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:920:4: note: in expansion of macro ‘OUT4CC’ 920 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:920:4: note: in expansion of macro ‘OUT4CC’ 920 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:921:4: note: in expansion of macro ‘OUTLONG’ 921 | OUTLONG(movi_len); /* Length of list in bytes */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:921:4: note: in expansion of macro ‘OUTLONG’ 921 | OUTLONG(movi_len); /* Length of list in bytes */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:922:4: note: in expansion of macro ‘OUT4CC’ 922 | OUT4CC ("movi"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:922:4: note: in expansion of macro ‘OUT4CC’ 922 | OUT4CC ("movi"); | ^~~~~~ avilib.c: In function ‘avi_parse_comments’: avilib.c:1041:25: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness [-Wpointer-sign] 1041 | long2str(buf+len, k+1); len += 4; | ~~~^~~~ | | | char * avilib.c:77:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 77 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:970:16: warning: variable ‘readlen’ set but not used [-Wunused-but-set-variable] 970 | int len=0, readlen=0, k; | ^~~~~~~ avilib.c: In function ‘avi_close_output_file’: avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1191:4: note: in expansion of macro ‘OUT4CC’ 1191 | OUT4CC ("RIFF"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1191:4: note: in expansion of macro ‘OUT4CC’ 1191 | OUT4CC ("RIFF"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1193:8: note: in expansion of macro ‘OUTLONG’ 1193 | OUTLONG(AVI->video_superindex->stdindex[ 1 ]->qwBaseOffset - 8); /* # of bytes to follow */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1193:8: note: in expansion of macro ‘OUTLONG’ 1193 | OUTLONG(AVI->video_superindex->stdindex[ 1 ]->qwBaseOffset - 8); /* # of bytes to follow */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1195:8: note: in expansion of macro ‘OUTLONG’ 1195 | OUTLONG(AVI->pos - 8); /* # of bytes to follow */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1195:8: note: in expansion of macro ‘OUTLONG’ 1195 | OUTLONG(AVI->pos - 8); /* # of bytes to follow */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1198:4: note: in expansion of macro ‘OUT4CC’ 1198 | OUT4CC ("AVI "); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1198:4: note: in expansion of macro ‘OUT4CC’ 1198 | OUT4CC ("AVI "); | ^~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1202:4: note: in expansion of macro ‘OUT4CC’ 1202 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1202:4: note: in expansion of macro ‘OUT4CC’ 1202 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1203:4: note: in expansion of macro ‘OUTLONG’ 1203 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1203:4: note: in expansion of macro ‘OUTLONG’ 1203 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1205:4: note: in expansion of macro ‘OUT4CC’ 1205 | OUT4CC ("hdrl"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1205:4: note: in expansion of macro ‘OUT4CC’ 1205 | OUT4CC ("hdrl"); | ^~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1218:4: note: in expansion of macro ‘OUT4CC’ 1218 | OUT4CC ("avih"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1218:4: note: in expansion of macro ‘OUT4CC’ 1218 | OUT4CC ("avih"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1219:4: note: in expansion of macro ‘OUTLONG’ 1219 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1219:4: note: in expansion of macro ‘OUTLONG’ 1219 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1220:4: note: in expansion of macro ‘OUTLONG’ 1220 | OUTLONG(ms_per_frame); /* Microseconds per frame */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1220:4: note: in expansion of macro ‘OUTLONG’ 1220 | OUTLONG(ms_per_frame); /* Microseconds per frame */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1223:4: note: in expansion of macro ‘OUTLONG’ 1223 | OUTLONG(0); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1223:4: note: in expansion of macro ‘OUTLONG’ 1223 | OUTLONG(0); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1224:4: note: in expansion of macro ‘OUTLONG’ 1224 | OUTLONG(0); /* PaddingGranularity (whatever that might be) */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1224:4: note: in expansion of macro ‘OUTLONG’ 1224 | OUTLONG(0); /* PaddingGranularity (whatever that might be) */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1229:4: note: in expansion of macro ‘OUTLONG’ 1229 | OUTLONG(flag); /* Flags */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1229:4: note: in expansion of macro ‘OUTLONG’ 1229 | OUTLONG(flag); /* Flags */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1230:4: note: in expansion of macro ‘OUTLONG’ 1230 | OUTLONG(AVI->video_frames); /* TotalFrames */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1230:4: note: in expansion of macro ‘OUTLONG’ 1230 | OUTLONG(AVI->video_frames); /* TotalFrames */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1231:4: note: in expansion of macro ‘OUTLONG’ 1231 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1231:4: note: in expansion of macro ‘OUTLONG’ 1231 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1233:4: note: in expansion of macro ‘OUTLONG’ 1233 | OUTLONG(AVI->anum+1); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1233:4: note: in expansion of macro ‘OUTLONG’ 1233 | OUTLONG(AVI->anum+1); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1239:4: note: in expansion of macro ‘OUTLONG’ 1239 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1239:4: note: in expansion of macro ‘OUTLONG’ 1239 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1240:4: note: in expansion of macro ‘OUTLONG’ 1240 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1240:4: note: in expansion of macro ‘OUTLONG’ 1240 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1241:4: note: in expansion of macro ‘OUTLONG’ 1241 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1241:4: note: in expansion of macro ‘OUTLONG’ 1241 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1243:4: note: in expansion of macro ‘OUTLONG’ 1243 | OUTLONG(0); /* TimeScale: Unit used to measure time */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1243:4: note: in expansion of macro ‘OUTLONG’ 1243 | OUTLONG(0); /* TimeScale: Unit used to measure time */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1244:4: note: in expansion of macro ‘OUTLONG’ 1244 | OUTLONG(0); /* DataRate: Data rate of playback */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1244:4: note: in expansion of macro ‘OUTLONG’ 1244 | OUTLONG(0); /* DataRate: Data rate of playback */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1245:4: note: in expansion of macro ‘OUTLONG’ 1245 | OUTLONG(0); /* StartTime: Starting time of AVI data */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1245:4: note: in expansion of macro ‘OUTLONG’ 1245 | OUTLONG(0); /* StartTime: Starting time of AVI data */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1246:4: note: in expansion of macro ‘OUTLONG’ 1246 | OUTLONG(0); /* DataLength: Size of AVI data chunk */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1246:4: note: in expansion of macro ‘OUTLONG’ 1246 | OUTLONG(0); /* DataLength: Size of AVI data chunk */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1251:4: note: in expansion of macro ‘OUT4CC’ 1251 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1251:4: note: in expansion of macro ‘OUT4CC’ 1251 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1252:4: note: in expansion of macro ‘OUTLONG’ 1252 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1252:4: note: in expansion of macro ‘OUTLONG’ 1252 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1254:4: note: in expansion of macro ‘OUT4CC’ 1254 | OUT4CC ("strl"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1254:4: note: in expansion of macro ‘OUT4CC’ 1254 | OUT4CC ("strl"); | ^~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1258:4: note: in expansion of macro ‘OUT4CC’ 1258 | OUT4CC ("strh"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1258:4: note: in expansion of macro ‘OUT4CC’ 1258 | OUT4CC ("strh"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1259:4: note: in expansion of macro ‘OUTLONG’ 1259 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1259:4: note: in expansion of macro ‘OUTLONG’ 1259 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1260:4: note: in expansion of macro ‘OUT4CC’ 1260 | OUT4CC ("vids"); /* Type */ | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1260:4: note: in expansion of macro ‘OUT4CC’ 1260 | OUT4CC ("vids"); /* Type */ | ^~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1261:4: note: in expansion of macro ‘OUT4CC’ 1261 | OUT4CC (AVI->compressor); /* Handler */ | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1261:4: note: in expansion of macro ‘OUT4CC’ 1261 | OUT4CC (AVI->compressor); /* Handler */ | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1262:4: note: in expansion of macro ‘OUTLONG’ 1262 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1262:4: note: in expansion of macro ‘OUTLONG’ 1262 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1263:4: note: in expansion of macro ‘OUTLONG’ 1263 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ mv -f .deps/wavlib.Tpo .deps/wavlib.Plo avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1263:4: note: in expansion of macro ‘OUTLONG’ 1263 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1264:4: note: in expansion of macro ‘OUTLONG’ 1264 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1264:4: note: in expansion of macro ‘OUTLONG’ 1264 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1265:4: note: in expansion of macro ‘OUTLONG’ 1265 | OUTLONG(FRAME_RATE_SCALE); /* Scale */ | ^~~~~~~ mv -f .deps/platform_posix.Tpo .deps/platform_posix.Plo avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1265:4: note: in expansion of macro ‘OUTLONG’ 1265 | OUTLONG(FRAME_RATE_SCALE); /* Scale */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1266:4: note: in expansion of macro ‘OUTLONG’ 1266 | OUTLONG(frate); /* Rate: Rate/Scale == samples/second */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1266:4: note: in expansion of macro ‘OUTLONG’ 1266 | OUTLONG(frate); /* Rate: Rate/Scale == samples/second */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1267:4: note: in expansion of macro ‘OUTLONG’ 1267 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1267:4: note: in expansion of macro ‘OUTLONG’ 1267 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1268:4: note: in expansion of macro ‘OUTLONG’ 1268 | OUTLONG(AVI->video_frames); /* Length */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1268:4: note: in expansion of macro ‘OUTLONG’ 1268 | OUTLONG(AVI->video_frames); /* Length */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1269:4: note: in expansion of macro ‘OUTLONG’ 1269 | OUTLONG(AVI->max_len); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1269:4: note: in expansion of macro ‘OUTLONG’ 1269 | OUTLONG(AVI->max_len); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1270:4: note: in expansion of macro ‘OUTLONG’ 1270 | OUTLONG(0); /* Quality */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1270:4: note: in expansion of macro ‘OUTLONG’ 1270 | OUTLONG(0); /* Quality */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1271:4: note: in expansion of macro ‘OUTLONG’ 1271 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o libwav.la platform_posix.lo wavlib.lo -lm -lz -ldl avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1271:4: note: in expansion of macro ‘OUTLONG’ 1271 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1272:4: note: in expansion of macro ‘OUTLONG’ 1272 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1272:4: note: in expansion of macro ‘OUTLONG’ 1272 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1273:4: note: in expansion of macro ‘OUTLONG’ 1273 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1273:4: note: in expansion of macro ‘OUTLONG’ 1273 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1282:4: note: in expansion of macro ‘OUT4CC’ 1282 | OUT4CC ("strf"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1282:4: note: in expansion of macro ‘OUT4CC’ 1282 | OUT4CC ("strf"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1283:4: note: in expansion of macro ‘OUTLONG’ 1283 | OUTLONG(40 + xd_size_align2);/* # of bytes to follow */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1283:4: note: in expansion of macro ‘OUTLONG’ 1283 | OUTLONG(40 + xd_size_align2);/* # of bytes to follow */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1284:4: note: in expansion of macro ‘OUTLONG’ 1284 | OUTLONG(40 + xd_size); /* Size */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1284:4: note: in expansion of macro ‘OUTLONG’ 1284 | OUTLONG(40 + xd_size); /* Size */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1285:4: note: in expansion of macro ‘OUTLONG’ 1285 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1285:4: note: in expansion of macro ‘OUTLONG’ 1285 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1286:4: note: in expansion of macro ‘OUTLONG’ 1286 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1286:4: note: in expansion of macro ‘OUTLONG’ 1286 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1288:4: note: in expansion of macro ‘OUT4CC’ 1288 | OUT4CC (AVI->compressor); /* Compression */ | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1288:4: note: in expansion of macro ‘OUT4CC’ 1288 | OUT4CC (AVI->compressor); /* Compression */ | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1290:4: note: in expansion of macro ‘OUTLONG’ 1290 | OUTLONG(AVI->width*AVI->height*3); /* SizeImage (in bytes?) */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1290:4: note: in expansion of macro ‘OUTLONG’ 1290 | OUTLONG(AVI->width*AVI->height*3); /* SizeImage (in bytes?) */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1291:4: note: in expansion of macro ‘OUTLONG’ 1291 | OUTLONG(0); /* XPelsPerMeter */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1291:4: note: in expansion of macro ‘OUTLONG’ 1291 | OUTLONG(0); /* XPelsPerMeter */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1292:4: note: in expansion of macro ‘OUTLONG’ 1292 | OUTLONG(0); /* YPelsPerMeter */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1292:4: note: in expansion of macro ‘OUTLONG’ 1292 | OUTLONG(0); /* YPelsPerMeter */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1293:4: note: in expansion of macro ‘OUTLONG’ 1293 | OUTLONG(0); /* ClrUsed: Number of colors used */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1293:4: note: in expansion of macro ‘OUTLONG’ 1293 | OUTLONG(0); /* ClrUsed: Number of colors used */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1294:4: note: in expansion of macro ‘OUTLONG’ 1294 | OUTLONG(0); /* ClrImportant: Number of colors important */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1294:4: note: in expansion of macro ‘OUTLONG’ 1294 | OUTLONG(0); /* ClrImportant: Number of colors important */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1309:8: note: in expansion of macro ‘OUT4CC’ 1309 | OUT4CC(AVI->video_superindex->fcc); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1309:8: note: in expansion of macro ‘OUT4CC’ 1309 | OUT4CC(AVI->video_superindex->fcc); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1310:8: note: in expansion of macro ‘OUTLONG’ 1310 | OUTLONG(2+1+1+4+4+3*4 + AVI->video_superindex->nEntriesInUse * (8+4+4)); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1310:8: note: in expansion of macro ‘OUTLONG’ 1310 | OUTLONG(2+1+1+4+4+3*4 + AVI->video_superindex->nEntriesInUse * (8+4+4)); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1314:8: note: in expansion of macro ‘OUTLONG’ 1314 | OUTLONG(AVI->video_superindex->nEntriesInUse); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1314:8: note: in expansion of macro ‘OUTLONG’ 1314 | OUTLONG(AVI->video_superindex->nEntriesInUse); | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1315:8: note: in expansion of macro ‘OUT4CC’ 1315 | OUT4CC(AVI->video_superindex->dwChunkId); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1315:8: note: in expansion of macro ‘OUT4CC’ 1315 | OUT4CC(AVI->video_superindex->dwChunkId); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1316:8: note: in expansion of macro ‘OUTLONG’ 1316 | OUTLONG(0); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1316:8: note: in expansion of macro ‘OUTLONG’ 1316 | OUTLONG(0); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1317:8: note: in expansion of macro ‘OUTLONG’ 1317 | OUTLONG(0); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1317:8: note: in expansion of macro ‘OUTLONG’ 1317 | OUTLONG(0); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1318:8: note: in expansion of macro ‘OUTLONG’ 1318 | OUTLONG(0); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1318:8: note: in expansion of macro ‘OUTLONG’ 1318 | OUTLONG(0); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1338:12: note: in expansion of macro ‘OUTLONG’ 1338 | OUTLONG(s); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1338:12: note: in expansion of macro ‘OUTLONG’ 1338 | OUTLONG(s); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1339:12: note: in expansion of macro ‘OUTLONG’ 1339 | OUTLONG(r); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1339:12: note: in expansion of macro ‘OUTLONG’ 1339 | OUTLONG(r); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1340:12: note: in expansion of macro ‘OUTLONG’ 1340 | OUTLONG(AVI->video_superindex->aIndex[k].dwSize); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1340:12: note: in expansion of macro ‘OUTLONG’ 1340 | OUTLONG(AVI->video_superindex->aIndex[k].dwSize); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1341:12: note: in expansion of macro ‘OUTLONG’ 1341 | OUTLONG(AVI->video_superindex->aIndex[k].dwDuration); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1341:12: note: in expansion of macro ‘OUTLONG’ 1341 | OUTLONG(AVI->video_superindex->aIndex[k].dwDuration); | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1380:10: note: in expansion of macro ‘OUT4CC’ 1380 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1380:10: note: in expansion of macro ‘OUT4CC’ 1380 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1381:10: note: in expansion of macro ‘OUTLONG’ 1381 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1381:10: note: in expansion of macro ‘OUTLONG’ 1381 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1383:10: note: in expansion of macro ‘OUT4CC’ 1383 | OUT4CC ("strl"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1383:10: note: in expansion of macro ‘OUT4CC’ 1383 | OUT4CC ("strl"); | ^~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1387:10: note: in expansion of macro ‘OUT4CC’ 1387 | OUT4CC ("strh"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1387:10: note: in expansion of macro ‘OUT4CC’ 1387 | OUT4CC ("strh"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1388:10: note: in expansion of macro ‘OUTLONG’ 1388 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1388:10: note: in expansion of macro ‘OUTLONG’ 1388 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1389:10: note: in expansion of macro ‘OUT4CC’ 1389 | OUT4CC ("auds"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1389:10: note: in expansion of macro ‘OUT4CC’ 1389 | OUT4CC ("auds"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1393:10: note: in expansion of macro ‘OUTLONG’ 1393 | OUTLONG(0); /* Format (Optionally) */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1393:10: note: in expansion of macro ‘OUTLONG’ 1393 | OUTLONG(0); /* Format (Optionally) */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1396:10: note: in expansion of macro ‘OUTLONG’ 1396 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1396:10: note: in expansion of macro ‘OUTLONG’ 1396 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1397:10: note: in expansion of macro ‘OUTLONG’ 1397 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1397:10: note: in expansion of macro ‘OUTLONG’ 1397 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1398:10: note: in expansion of macro ‘OUTLONG’ 1398 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1398:10: note: in expansion of macro ‘OUTLONG’ 1398 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1402:14: note: in expansion of macro ‘OUTLONG’ 1402 | OUTLONG(nBlockAlign); /* Scale */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1402:14: note: in expansion of macro ‘OUTLONG’ 1402 | OUTLONG(nBlockAlign); /* Scale */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1403:14: note: in expansion of macro ‘OUTLONG’ 1403 | OUTLONG(AVI->track[j].a_rate); /* Rate */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1403:14: note: in expansion of macro ‘OUTLONG’ 1403 | OUTLONG(AVI->track[j].a_rate); /* Rate */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1404:14: note: in expansion of macro ‘OUTLONG’ 1404 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1404:14: note: in expansion of macro ‘OUTLONG’ 1404 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1405:14: note: in expansion of macro ‘OUTLONG’ 1405 | OUTLONG(AVI->track[j].audio_chunks); /* Length */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1405:14: note: in expansion of macro ‘OUTLONG’ 1405 | OUTLONG(AVI->track[j].audio_chunks); /* Length */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1406:14: note: in expansion of macro ‘OUTLONG’ 1406 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1406:14: note: in expansion of macro ‘OUTLONG’ 1406 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1407:14: note: in expansion of macro ‘OUTLONG’ 1407 | OUTLONG(0); /* Quality */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1407:14: note: in expansion of macro ‘OUTLONG’ 1407 | OUTLONG(0); /* Quality */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1408:14: note: in expansion of macro ‘OUTLONG’ 1408 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1408:14: note: in expansion of macro ‘OUTLONG’ 1408 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ mv -f .deps/avidump.Tpo .deps/avidump.Plo avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1409:14: note: in expansion of macro ‘OUTLONG’ 1409 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1409:14: note: in expansion of macro ‘OUTLONG’ 1409 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1410:14: note: in expansion of macro ‘OUTLONG’ 1410 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1410:14: note: in expansion of macro ‘OUTLONG’ 1410 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1412:14: note: in expansion of macro ‘OUTLONG’ 1412 | OUTLONG(sampsize/4); /* Scale */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1412:14: note: in expansion of macro ‘OUTLONG’ 1412 | OUTLONG(sampsize/4); /* Scale */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1413:14: note: in expansion of macro ‘OUTLONG’ 1413 | OUTLONG(scalerate); /* Rate */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1413:14: note: in expansion of macro ‘OUTLONG’ 1413 | OUTLONG(scalerate); /* Rate */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1414:14: note: in expansion of macro ‘OUTLONG’ 1414 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1414:14: note: in expansion of macro ‘OUTLONG’ 1414 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1415:14: note: in expansion of macro ‘OUTLONG’ 1415 | OUTLONG(4*AVI->track[j].audio_bytes/sampsize); /* Length */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1415:14: note: in expansion of macro ‘OUTLONG’ 1415 | OUTLONG(4*AVI->track[j].audio_bytes/sampsize); /* Length */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1416:14: note: in expansion of macro ‘OUTLONG’ 1416 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1416:14: note: in expansion of macro ‘OUTLONG’ 1416 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1417:14: note: in expansion of macro ‘OUTLONG’ 1417 | OUTLONG(0xffffffff); /* Quality */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1417:14: note: in expansion of macro ‘OUTLONG’ 1417 | OUTLONG(0xffffffff); /* Quality */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1418:14: note: in expansion of macro ‘OUTLONG’ 1418 | OUTLONG(sampsize/4); /* SampleSize */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1418:14: note: in expansion of macro ‘OUTLONG’ 1418 | OUTLONG(sampsize/4); /* SampleSize */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1419:14: note: in expansion of macro ‘OUTLONG’ 1419 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1419:14: note: in expansion of macro ‘OUTLONG’ 1419 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1420:14: note: in expansion of macro ‘OUTLONG’ 1420 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1420:14: note: in expansion of macro ‘OUTLONG’ 1420 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1425:10: note: in expansion of macro ‘OUT4CC’ 1425 | OUT4CC ("strf"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1425:10: note: in expansion of macro ‘OUT4CC’ 1425 | OUT4CC ("strf"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1429:14: note: in expansion of macro ‘OUTLONG’ 1429 | OUTLONG(30); /* # of bytes to follow */ // mplayer writes 28 | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1429:14: note: in expansion of macro ‘OUTLONG’ 1429 | OUTLONG(30); /* # of bytes to follow */ // mplayer writes 28 | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1432:14: note: in expansion of macro ‘OUTLONG’ 1432 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ // 4 | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1432:14: note: in expansion of macro ‘OUTLONG’ 1432 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ // 4 | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1434:14: note: in expansion of macro ‘OUTLONG’ 1434 | OUTLONG(1000*AVI->track[j].mp3rate/8); /* maybe we should write an avg. */ // 4 | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1434:14: note: in expansion of macro ‘OUTLONG’ 1434 | OUTLONG(1000*AVI->track[j].mp3rate/8); /* maybe we should write an avg. */ // 4 | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1440:14: note: in expansion of macro ‘OUTLONG’ 1440 | OUTLONG(2); /* fdwFlags */ // 4 | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1440:14: note: in expansion of macro ‘OUTLONG’ 1440 | OUTLONG(2); /* fdwFlags */ // 4 | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1447:14: note: in expansion of macro ‘OUTLONG’ 1447 | OUTLONG(30); /* # of bytes to follow */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1447:14: note: in expansion of macro ‘OUTLONG’ 1447 | OUTLONG(30); /* # of bytes to follow */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1450:14: note: in expansion of macro ‘OUTLONG’ 1450 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1450:14: note: in expansion of macro ‘OUTLONG’ 1450 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1452:14: note: in expansion of macro ‘OUTLONG’ 1452 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1452:14: note: in expansion of macro ‘OUTLONG’ 1452 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1458:14: note: in expansion of macro ‘OUTLONG’ 1458 | OUTLONG(2); /* fdwFlags */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1458:14: note: in expansion of macro ‘OUTLONG’ 1458 | OUTLONG(2); /* fdwFlags */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1465:14: note: in expansion of macro ‘OUTLONG’ 1465 | OUTLONG(18); /* # of bytes to follow */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1465:14: note: in expansion of macro ‘OUTLONG’ 1465 | OUTLONG(18); /* # of bytes to follow */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1468:14: note: in expansion of macro ‘OUTLONG’ 1468 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1468:14: note: in expansion of macro ‘OUTLONG’ 1468 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1470:14: note: in expansion of macro ‘OUTLONG’ 1470 | OUTLONG(avgbsec); /* Avg bytes/sec */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1470:14: note: in expansion of macro ‘OUTLONG’ 1470 | OUTLONG(avgbsec); /* Avg bytes/sec */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1486:12: note: in expansion of macro ‘OUT4CC’ 1486 | OUT4CC(AVI->track[j].audio_superindex->fcc); /* "indx" */ | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1486:12: note: in expansion of macro ‘OUT4CC’ 1486 | OUT4CC(AVI->track[j].audio_superindex->fcc); /* "indx" */ | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1487:12: note: in expansion of macro ‘OUTLONG’ 1487 | OUTLONG(2+1+1+4+4+3*4 + AVI->track[j].audio_superindex->nEntriesInUse * (8+4+4)); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1487:12: note: in expansion of macro ‘OUTLONG’ 1487 | OUTLONG(2+1+1+4+4+3*4 + AVI->track[j].audio_superindex->nEntriesInUse * (8+4+4)); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1491:12: note: in expansion of macro ‘OUTLONG’ 1491 | OUTLONG(AVI->track[j].audio_superindex->nEntriesInUse); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1491:12: note: in expansion of macro ‘OUTLONG’ 1491 | OUTLONG(AVI->track[j].audio_superindex->nEntriesInUse); | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1492:12: note: in expansion of macro ‘OUT4CC’ 1492 | OUT4CC(AVI->track[j].audio_superindex->dwChunkId); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1492:12: note: in expansion of macro ‘OUT4CC’ 1492 | OUT4CC(AVI->track[j].audio_superindex->dwChunkId); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1493:12: note: in expansion of macro ‘OUTLONG’ 1493 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1493:12: note: in expansion of macro ‘OUTLONG’ 1493 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1493:24: note: in expansion of macro ‘OUTLONG’ 1493 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1493:24: note: in expansion of macro ‘OUTLONG’ 1493 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1493:36: note: in expansion of macro ‘OUTLONG’ 1493 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1493:36: note: in expansion of macro ‘OUTLONG’ 1493 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1510:16: note: in expansion of macro ‘OUTLONG’ 1510 | OUTLONG(s); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1510:16: note: in expansion of macro ‘OUTLONG’ 1510 | OUTLONG(s); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1511:16: note: in expansion of macro ‘OUTLONG’ 1511 | OUTLONG(r); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1511:16: note: in expansion of macro ‘OUTLONG’ 1511 | OUTLONG(r); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1512:16: note: in expansion of macro ‘OUTLONG’ 1512 | OUTLONG(AVI->track[j].audio_superindex->aIndex[k].dwSize); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1512:16: note: in expansion of macro ‘OUTLONG’ 1512 | OUTLONG(AVI->track[j].audio_superindex->aIndex[k].dwSize); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1513:16: note: in expansion of macro ‘OUTLONG’ 1513 | OUTLONG(AVI->track[j].audio_superindex->aIndex[k].dwDuration); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1513:16: note: in expansion of macro ‘OUTLONG’ 1513 | OUTLONG(AVI->track[j].audio_superindex->aIndex[k].dwDuration); | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1521:8: note: in expansion of macro ‘OUT4CC’ 1521 | OUT4CC("LIST"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1521:8: note: in expansion of macro ‘OUT4CC’ 1521 | OUT4CC("LIST"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1522:8: note: in expansion of macro ‘OUTLONG’ 1522 | OUTLONG(16); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1522:8: note: in expansion of macro ‘OUTLONG’ 1522 | OUTLONG(16); | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1523:8: note: in expansion of macro ‘OUT4CC’ 1523 | OUT4CC("odml"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1523:8: note: in expansion of macro ‘OUT4CC’ 1523 | OUT4CC("odml"); | ^~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1524:8: note: in expansion of macro ‘OUT4CC’ 1524 | OUT4CC("dmlh"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1524:8: note: in expansion of macro ‘OUT4CC’ 1524 | OUT4CC("dmlh"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1525:8: note: in expansion of macro ‘OUTLONG’ 1525 | OUTLONG(4); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1525:8: note: in expansion of macro ‘OUTLONG’ 1525 | OUTLONG(4); | ^~~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1526:8: note: in expansion of macro ‘OUTLONG’ 1526 | OUTLONG(AVI->total_frames); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1526:8: note: in expansion of macro ‘OUTLONG’ 1526 | OUTLONG(AVI->total_frames); | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1537:4: note: in expansion of macro ‘OUT4CC’ 1537 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1537:4: note: in expansion of macro ‘OUT4CC’ 1537 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1541:4: note: in expansion of macro ‘OUTLONG’ 1541 | OUTLONG(info_len); // rewritten later | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1541:4: note: in expansion of macro ‘OUTLONG’ 1541 | OUTLONG(info_len); // rewritten later | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1542:4: note: in expansion of macro ‘OUT4CC’ 1542 | OUT4CC ("INFO"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1542:4: note: in expansion of macro ‘OUT4CC’ 1542 | OUT4CC ("INFO"); | ^~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1544:4: note: in expansion of macro ‘OUT4CC’ 1544 | OUT4CC ("ISFT"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1544:4: note: in expansion of macro ‘OUT4CC’ 1544 | OUT4CC ("ISFT"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1552:4: note: in expansion of macro ‘OUTLONG’ 1552 | OUTLONG(real_id_len); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1552:4: note: in expansion of macro ‘OUTLONG’ 1552 | OUTLONG(real_id_len); | ^~~~~~~ avilib.c:1558:62: warning: pointer targets in passing argument 2 of ‘avi_parse_comments’ differ in signedness [-Wpointer-sign] 1558 | info_len = avi_parse_comments (AVI->comment_fd, AVI_header+nhb, HEADERBYTES - nhb - 8 - 12); | ~~~~~~~~~~^~~~ | | | unsigned char * avilib.c:968:46: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 968 | static int avi_parse_comments (int fd, char *buf, int space_left) | ~~~~~~^~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1593:4: note: in expansion of macro ‘OUT4CC’ 1593 | OUT4CC ("JUNK"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1593:4: note: in expansion of macro ‘OUT4CC’ 1593 | OUT4CC ("JUNK"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1594:4: note: in expansion of macro ‘OUTLONG’ 1594 | OUTLONG(njunk); | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1594:4: note: in expansion of macro ‘OUTLONG’ 1594 | OUTLONG(njunk); | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1601:4: note: in expansion of macro ‘OUT4CC’ 1601 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1601:4: note: in expansion of macro ‘OUT4CC’ 1601 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:667:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1602:4: note: in expansion of macro ‘OUTLONG’ 1602 | OUTLONG(movi_len); /* Length of list in bytes */ | ^~~~~~~ avilib.c:667:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 667 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1602:4: note: in expansion of macro ‘OUTLONG’ 1602 | OUTLONG(movi_len); /* Length of list in bytes */ | ^~~~~~~ avilib.c:664:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1603:4: note: in expansion of macro ‘OUT4CC’ 1603 | OUT4CC ("movi"); | ^~~~~~ avilib.c:664:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 664 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1603:4: note: in expansion of macro ‘OUT4CC’ 1603 | OUT4CC ("movi"); | ^~~~~~ avilib.c:1628:22: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness [-Wpointer-sign] 1628 | long2str(f, len); | ^ | | | char * avilib.c:77:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 77 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:1634:22: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness [-Wpointer-sign] 1634 | long2str(f, len); | ^ | | | char * avilib.c:77:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 77 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c: In function ‘plat_write_data’: avilib.c:1693:50: warning: pointer targets in passing argument 3 of ‘avi_add_chunk’ differ in signedness [-Wpointer-sign] 1693 | n = avi_add_chunk(AVI,(unsigned char *)astr,data,length); | ^~~~ | | | const char * avilib.c:144:47: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ 144 | const unsigned char *data, int length) | ~~~~~~~~~~~~~~~~~~~~~^~~~ avilib.c:1695:52: warning: pointer targets in passing argument 3 of ‘avi_add_chunk’ differ in signedness [-Wpointer-sign] 1695 | n = avi_add_chunk(AVI,(unsigned char *)"00db",data,length); | ^~~~ | | | const char * avilib.c:144:47: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ 144 | const unsigned char *data, int length) | ~~~~~~~~~~~~~~~~~~~~~^~~~ avilib.c: In function ‘avi_parse_input_file’: avilib.c:2229:41: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 2229 | else if (strncasecmp (hdrl_data+i,"iavs",4) ==0 && ! auds_strh_seen) { | ~~~~~~~~~^~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:446, from avilib.h:38, from avilib.c:38: /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) | ~~~~~~~~~~~~^~~~ avilib.c:2237:36: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 2237 | else if(strncasecmp(hdrl_data+i,"dmlh",4) == 0) { | ~~~~~~~~~^~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:446, from avilib.h:38, from avilib.c:38: /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) | ~~~~~~~~~~~~^~~~ avilib.c:2311:36: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 2311 | else if(strncasecmp(hdrl_data+i,"indx",4) == 0) { | ~~~~~~~~~^~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:446, from avilib.h:38, from avilib.c:38: /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) | ~~~~~~~~~~~~^~~~ avilib.c:2318:15: warning: pointer targets in assignment from ‘uint8_t *’ {aka ‘unsigned char *’} to ‘char *’ differ in signedness [-Wpointer-sign] 2318 | a = hdrl_data+i; | ^ avilib.c:2322:55: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2322 | AVI->video_superindex->dwSize = str2ulong(a); a += 4; | ^ | | | char * avilib.c:103:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 103 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2323:64: warning: pointer targets in passing argument 1 of ‘str2ushort’ differ in signedness [-Wpointer-sign] 2323 | AVI->video_superindex->wLongsPerEntry = str2ushort(a); a += 2; | ^ | | | char * avilib.c:107:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 107 | static uint32_t str2ushort(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2326:62: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2326 | AVI->video_superindex->nEntriesInUse = str2ulong(a); a += 4; | ^ | | | char * avilib.c:103:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 103 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2341:72: warning: pointer targets in passing argument 1 of ‘str2ullong’ differ in signedness [-Wpointer-sign] 2341 | AVI->video_superindex->aIndex[j].qwOffset = str2ullong (a); a += 8; | ^ | | | char * avilib.c:96:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 96 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2342:69: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2342 | AVI->video_superindex->aIndex[j].dwSize = str2ulong (a); a += 4; | ^ | | | char * avilib.c:103:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 103 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2343:73: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2343 | AVI->video_superindex->aIndex[j].dwDuration = str2ulong (a); a += 4; | ^ | | | char * avilib.c:103:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 103 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2372:15: warning: pointer targets in assignment from ‘uint8_t *’ {aka ‘unsigned char *’} to ‘char *’ differ in signedness [-Wpointer-sign] 2372 | a = hdrl_data+i; | ^ avilib.c:2376:80: warning: pointer targets in passing argument 2 of ‘avi_build_audio_superindex’ differ in signedness [-Wpointer-sign] 2376 | a = avi_build_audio_superindex(AVI->track[AVI->aptr].audio_superindex, a); | ^ | | | char * avilib.c:2032:78: note: expected ‘uint8_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 2032 | static uint8_t *avi_build_audio_superindex(avisuperindex_chunk *si, uint8_t *a) | ~~~~~~~~~^ avilib.c:2376:11: warning: pointer targets in assignment from ‘uint8_t *’ {aka ‘unsigned char *’} to ‘char *’ differ in signedness [-Wpointer-sign] 2376 | a = avi_build_audio_superindex(AVI->track[AVI->aptr].audio_superindex, a); | ^ avilib.c:2380:37: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 2380 | else if((strncasecmp(hdrl_data+i,"JUNK",4) == 0) || | ~~~~~~~~~^~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:446, from avilib.h:38, from avilib.c:38: /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) | ~~~~~~~~~~~~^~~~ avilib.c:2381:37: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 2381 | (strncasecmp(hdrl_data+i,"strn",4) == 0) || | ~~~~~~~~~^~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:446, from avilib.h:38, from avilib.c:38: /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) | ~~~~~~~~~~~~^~~~ avilib.c:2382:37: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 2382 | (strncasecmp(hdrl_data+i,"vprp",4) == 0)){ | ~~~~~~~~~^~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:446, from avilib.h:38, from avilib.c:38: /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) | ~~~~~~~~~~~~^~~~ avilib.c:2553:35: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2553 | nrEntries = str2ulong(en + 12); | ~~~^~~~ | | | char * avilib.c:103:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 103 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2557:33: warning: pointer targets in passing argument 1 of ‘str2ullong’ differ in signedness [-Wpointer-sign] 2557 | offset = str2ullong(en + 20); | ~~~^~~~ | | | char * avilib.c:96:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 96 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2571:58: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2571 | AVI->video_index[k].pos = offset + str2ulong(en); en += 4; | ^~ | | | char * avilib.c:103:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 103 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2572:53: warning: pointer targets in passing argument 1 of ‘str2ulong_len’ differ in signedness [-Wpointer-sign] 2572 | AVI->video_index[k].len = str2ulong_len(en); | ^~ | | | char * avilib.c:113:47: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 113 | static uint32_t str2ulong_len (unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2573:53: warning: pointer targets in passing argument 1 of ‘str2ulong_key’ differ in signedness [-Wpointer-sign] 2573 | AVI->video_index[k].key = str2ulong_key(en); en += 4; | ^~ | | | char * avilib.c:120:47: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 120 | static uint32_t str2ulong_key (unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2636:38: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2636 | nrEntries = str2ulong(en + 12); | ~~~^~~~ | | | char * avilib.c:103:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 103 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2641:36: warning: pointer targets in passing argument 1 of ‘str2ullong’ differ in signedness [-Wpointer-sign] 2641 | offset = str2ullong(en + 20); | ~~~^~~~ | | | char * avilib.c:96:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 96 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2650:74: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2650 | AVI->track[audtr].audio_index[k].pos = offset + str2ulong(en); en += 4; | ^~ | | | char * avilib.c:103:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 103 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2651:69: warning: pointer targets in passing argument 1 of ‘str2ulong_len’ differ in signedness [-Wpointer-sign] 2651 | AVI->track[audtr].audio_index[k].len = str2ulong_len(en); en += 4; | ^~ | | | char * avilib.c:113:47: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 113 | static uint32_t str2ulong_len (unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c: In function ‘avi_parse_index_from_file’: avilib.c:1946:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1946 | fgets(data, 100, fd); | ^~~~~~~~~~~~~~~~~~~~ avilib.c:1954:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1954 | fgets(data, 100, fd); | ^~~~~~~~~~~~~~~~~~~~ libtool: link: ar cr .libs/libwav.a .libs/platform_posix.o .libs/wavlib.o libtool: link: ranlib .libs/libwav.a libtool: link: ( cd ".libs" && rm -f "libwav.la" && ln -s "../libwav.la" "libwav.la" ) mv -f .deps/avilib.Tpo .deps/avilib.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o libavi.la platform_posix.lo avidump.lo avilib.lo -lm -lz -ldl libtool: link: ar cr .libs/libavi.a .libs/platform_posix.o .libs/avidump.o .libs/avilib.o libtool: link: ranlib .libs/libavi.a libtool: link: ( cd ".libs" && rm -f "libavi.la" && ln -s "../libavi.la" "libavi.la" ) make[2]: Leaving directory '/build/transcode/src/transcode-1.1.7/avilib' Making all in libtc make[2]: Entering directory '/build/transcode/src/transcode-1.1.7/libtc' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT cfgfile.lo -MD -MP -MF .deps/cfgfile.Tpo -c -o cfgfile.lo cfgfile.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT framecode.lo -MD -MP -MF .deps/framecode.Tpo -c -o framecode.lo framecode.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT iodir.lo -MD -MP -MF .deps/iodir.Tpo -c -o iodir.lo iodir.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT optstr.lo -MD -MP -MF .deps/optstr.Tpo -c -o optstr.lo optstr.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT ratiocodes.lo -MD -MP -MF .deps/ratiocodes.Tpo -c -o ratiocodes.lo ratiocodes.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT strlcat.lo -MD -MP -MF .deps/strlcat.Tpo -c -o strlcat.lo strlcat.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT strlcpy.lo -MD -MP -MF .deps/strlcpy.Tpo -c -o strlcpy.lo strlcpy.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tc_functions.lo -MD -MP -MF .deps/tc_functions.Tpo -c -o tc_functions.lo tc_functions.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT optstr.lo -MD -MP -MF .deps/optstr.Tpo -c optstr.c -fPIC -DPIC -o .libs/optstr.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT cfgfile.lo -MD -MP -MF .deps/cfgfile.Tpo -c cfgfile.c -fPIC -DPIC -o .libs/cfgfile.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tc_functions.lo -MD -MP -MF .deps/tc_functions.Tpo -c tc_functions.c -fPIC -DPIC -o .libs/tc_functions.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT framecode.lo -MD -MP -MF .deps/framecode.Tpo -c framecode.c -fPIC -DPIC -o .libs/framecode.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT strlcat.lo -MD -MP -MF .deps/strlcat.Tpo -c strlcat.c -fPIC -DPIC -o .libs/strlcat.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT ratiocodes.lo -MD -MP -MF .deps/ratiocodes.Tpo -c ratiocodes.c -fPIC -DPIC -o .libs/ratiocodes.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT iodir.lo -MD -MP -MF .deps/iodir.Tpo -c iodir.c -fPIC -DPIC -o .libs/iodir.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT strlcpy.lo -MD -MP -MF .deps/strlcpy.Tpo -c strlcpy.c -fPIC -DPIC -o .libs/strlcpy.o mv -f .deps/strlcpy.Tpo .deps/strlcpy.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tccodecs.lo -MD -MP -MF .deps/tccodecs.Tpo -c -o tccodecs.lo tccodecs.c mv -f .deps/strlcat.Tpo .deps/strlcat.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tcframes.lo -MD -MP -MF .deps/tcframes.Tpo -c -o tcframes.lo tcframes.c mv -f .deps/optstr.Tpo .deps/optstr.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tcglob.lo -MD -MP -MF .deps/tcglob.Tpo -c -o tcglob.lo tcglob.c mv -f .deps/iodir.Tpo .deps/iodir.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tclist.lo -MD -MP -MF .deps/tclist.Tpo -c -o tclist.lo tclist.c mv -f .deps/ratiocodes.Tpo .deps/ratiocodes.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tcmodule.lo -MD -MP -MF .deps/tcmodule.Tpo -c -o tcmodule.lo tcmodule.c mv -f .deps/framecode.Tpo .deps/framecode.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tcmoduleinfo.lo -MD -MP -MF .deps/tcmoduleinfo.Tpo -c -o tcmoduleinfo.lo tcmoduleinfo.c mv -f .deps/cfgfile.Tpo .deps/cfgfile.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tctimer.lo -MD -MP -MF .deps/tctimer.Tpo -c -o tctimer.lo tctimer.c mv -f .deps/tc_functions.Tpo .deps/tc_functions.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tccodecs.lo -MD -MP -MF .deps/tccodecs.Tpo -c tccodecs.c -fPIC -DPIC -o .libs/tccodecs.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tcframes.lo -MD -MP -MF .deps/tcframes.Tpo -c tcframes.c -fPIC -DPIC -o .libs/tcframes.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tcglob.lo -MD -MP -MF .deps/tcglob.Tpo -c tcglob.c -fPIC -DPIC -o .libs/tcglob.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tclist.lo -MD -MP -MF .deps/tclist.Tpo -c tclist.c -fPIC -DPIC -o .libs/tclist.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tcmodule.lo -MD -MP -MF .deps/tcmodule.Tpo -c tcmodule.c -fPIC -DPIC -o .libs/tcmodule.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tcmoduleinfo.lo -MD -MP -MF .deps/tcmoduleinfo.Tpo -c tcmoduleinfo.c -fPIC -DPIC -o .libs/tcmoduleinfo.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tctimer.lo -MD -MP -MF .deps/tctimer.Tpo -c tctimer.c -fPIC -DPIC -o .libs/tctimer.o mv -f .deps/tcframes.Tpo .deps/tcframes.Plo mv -f .deps/tcglob.Tpo .deps/tcglob.Plo mv -f .deps/tccodecs.Tpo .deps/tccodecs.Plo mv -f .deps/tclist.Tpo .deps/tclist.Plo mv -f .deps/tctimer.Tpo .deps/tctimer.Plo mv -f .deps/tcmoduleinfo.Tpo .deps/tcmoduleinfo.Plo mv -f .deps/tcmodule.Tpo .deps/tcmodule.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o libtc.la cfgfile.lo framecode.lo iodir.lo optstr.lo ratiocodes.lo strlcat.lo strlcpy.lo tc_functions.lo tccodecs.lo tcframes.lo tcglob.lo tclist.lo tcmodule.lo tcmoduleinfo.lo tctimer.lo -lm -lz -ldl libtool: link: ar cr .libs/libtc.a .libs/cfgfile.o .libs/framecode.o .libs/iodir.o .libs/optstr.o .libs/ratiocodes.o .libs/strlcat.o .libs/strlcpy.o .libs/tc_functions.o .libs/tccodecs.o .libs/tcframes.o .libs/tcglob.o .libs/tclist.o .libs/tcmodule.o .libs/tcmoduleinfo.o .libs/tctimer.o libtool: link: ranlib .libs/libtc.a libtool: link: ( cd ".libs" && rm -f "libtc.la" && ln -s "../libtc.la" "libtc.la" ) make[2]: Leaving directory '/build/transcode/src/transcode-1.1.7/libtc' Making all in libtcaudio make[2]: Entering directory '/build/transcode/src/transcode-1.1.7/libtcaudio' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tcaudio.lo -MD -MP -MF .deps/tcaudio.Tpo -c -o tcaudio.lo tcaudio.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tcaudio.lo -MD -MP -MF .deps/tcaudio.Tpo -c tcaudio.c -fPIC -DPIC -o .libs/tcaudio.o mv -f .deps/tcaudio.Tpo .deps/tcaudio.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o libtcaudio.la tcaudio.lo -lm -lz -ldl libtool: link: ar cr .libs/libtcaudio.a .libs/tcaudio.o libtool: link: ranlib .libs/libtcaudio.a libtool: link: ( cd ".libs" && rm -f "libtcaudio.la" && ln -s "../libtcaudio.la" "libtcaudio.la" ) make[2]: Leaving directory '/build/transcode/src/transcode-1.1.7/libtcaudio' Making all in libtcvideo make[2]: Entering directory '/build/transcode/src/transcode-1.1.7/libtcvideo' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tcvideo.lo -MD -MP -MF .deps/tcvideo.Tpo -c -o tcvideo.lo tcvideo.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT zoom.lo -MD -MP -MF .deps/zoom.Tpo -c -o zoom.lo zoom.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT zoom.lo -MD -MP -MF .deps/zoom.Tpo -c zoom.c -fPIC -DPIC -o .libs/zoom.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT tcvideo.lo -MD -MP -MF .deps/tcvideo.Tpo -c tcvideo.c -fPIC -DPIC -o .libs/tcvideo.o mv -f .deps/zoom.Tpo .deps/zoom.Plo mv -f .deps/tcvideo.Tpo .deps/tcvideo.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o libtcvideo.la tcvideo.lo zoom.lo -lm -lz -ldl libtool: link: ar cr .libs/libtcvideo.a .libs/tcvideo.o .libs/zoom.o libtool: link: ranlib .libs/libtcvideo.a libtool: link: ( cd ".libs" && rm -f "libtcvideo.la" && ln -s "../libtcvideo.la" "libtcvideo.la" ) make[2]: Leaving directory '/build/transcode/src/transcode-1.1.7/libtcvideo' Making all in encode make[2]: Entering directory '/build/transcode/src/transcode-1.1.7/encode' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/transcode/src/transcode-1.1.7/encode' Making all in export make[2]: Entering directory '/build/transcode/src/transcode-1.1.7/export' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_ac3.lo -MD -MP -MF .deps/export_ac3.Tpo -c -o export_ac3.lo export_ac3.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_divx5_la-export_divx5.lo -MD -MP -MF .deps/export_divx5_la-export_divx5.Tpo -c -o export_divx5_la-export_divx5.lo `test -f 'export_divx5.c' || echo './'`export_divx5.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_divx5_la-aud_aux.lo -MD -MP -MF .deps/export_divx5_la-aud_aux.Tpo -c -o export_divx5_la-aud_aux.lo `test -f 'aud_aux.c' || echo './'`aud_aux.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_divx5_la-divx4_vbr.lo -MD -MP -MF .deps/export_divx5_la-divx4_vbr.Tpo -c -o export_divx5_la-divx4_vbr.lo `test -f 'divx4_vbr.c' || echo './'`divx4_vbr.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_dv_la-export_dv.lo -MD -MP -MF .deps/export_dv_la-export_dv.Tpo -c -o export_dv_la-export_dv.lo `test -f 'export_dv.c' || echo './'`export_dv.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_dv_la-aud_aux.lo -MD -MP -MF .deps/export_dv_la-aud_aux.Tpo -c -o export_dv_la-aud_aux.lo `test -f 'aud_aux.c' || echo './'`aud_aux.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_dvraw_la-export_dvraw.lo -MD -MP -MF .deps/export_dvraw_la-export_dvraw.Tpo -c -o export_dvraw_la-export_dvraw.lo `test -f 'export_dvraw.c' || echo './'`export_dvraw.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include/ImageMagick-7 -I/usr/include/ImageMagick-7 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_im_la-export_im.lo -MD -MP -MF .deps/export_im_la-export_im.Tpo -c -o export_im_la-export_im.lo `test -f 'export_im.c' || echo './'`export_im.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_divx5_la-aud_aux.lo -MD -MP -MF .deps/export_divx5_la-aud_aux.Tpo -c aud_aux.c -fPIC -DPIC -o .libs/export_divx5_la-aud_aux.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_ac3.lo -MD -MP -MF .deps/export_ac3.Tpo -c export_ac3.c -fPIC -DPIC -o .libs/export_ac3.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_dv_la-export_dv.lo -MD -MP -MF .deps/export_dv_la-export_dv.Tpo -c export_dv.c -fPIC -DPIC -o .libs/export_dv_la-export_dv.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_divx5_la-export_divx5.lo -MD -MP -MF .deps/export_divx5_la-export_divx5.Tpo -c export_divx5.c -fPIC -DPIC -o .libs/export_divx5_la-export_divx5.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_divx5_la-divx4_vbr.lo -MD -MP -MF .deps/export_divx5_la-divx4_vbr.Tpo -c divx4_vbr.c -fPIC -DPIC -o .libs/export_divx5_la-divx4_vbr.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_dv_la-aud_aux.lo -MD -MP -MF .deps/export_dv_la-aud_aux.Tpo -c aud_aux.c -fPIC -DPIC -o .libs/export_dv_la-aud_aux.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_dvraw_la-export_dvraw.lo -MD -MP -MF .deps/export_dvraw_la-export_dvraw.Tpo -c export_dvraw.c -fPIC -DPIC -o .libs/export_dvraw_la-export_dvraw.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include/ImageMagick-7 -I/usr/include/ImageMagick-7 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_im_la-export_im.lo -MD -MP -MF .deps/export_im_la-export_im.Tpo -c export_im.c -fPIC -DPIC -o .libs/export_im_la-export_im.o export_ac3.c: In function ‘export_ac3_encode’: export_ac3.c:146:27: warning: pointer targets in passing argument 1 of ‘p_write’ differ in signedness [-Wpointer-sign] 146 | if (p_write (param->buffer, param->size) != param->size) | ~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} export_ac3.c:41:34: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 41 | static inline int p_write (char *buf, size_t len) | ~~~~~~^~~ aud_aux.c: In function ‘tc_audio_encode_mp3’: aud_aux.c:757:23: warning: pointer targets in passing argument 5 of ‘lame_encode_buffer’ differ in signedness [-Wpointer-sign] 757 | output+output_len, | ~~~~~~^~~~~~~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:721:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 721 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ aud_aux.c:764:24: warning: pointer targets in passing argument 4 of ‘lame_encode_buffer_interleaved’ differ in signedness [-Wpointer-sign] 764 | output + output_len, | ~~~~~~~^~~~~~~~~~~~ | | | char * export_dv.c: In function ‘export_dv_encode’: In file included from aud_aux.c:41: /usr/include/lame/lame.h:738:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 738 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ aud_aux.c:814:45: warning: pointer targets in passing argument 1 of ‘tc_get_mp3_header’ differ in signedness [-Wpointer-sign] 814 | while((size=tc_get_mp3_header(output+offset, NULL, NULL)) > 0) | ~~~~~~^~~~~~~ | | | char * export_dv.c:199:33: warning: pointer targets in passing argument 2 of ‘AVI_write_frame’ differ in signedness [-Wpointer-sign] 199 | if(AVI_write_frame(avifile, target, frame_size, key)<0) { | ^~~~~~ | | | unsigned char * aud_aux.c:140:45: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 140 | static int tc_get_mp3_header(unsigned char* hbuf, int* chans, int* srate); | ~~~~~~~~~~~~~~~^~~~ In file included from ../src/transcode.h:44, from export_dv.c:28: ../avilib/avilib.h:329:46: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 329 | int AVI_write_frame(avi_t *AVI, const char *data, long bytes, int keyframe); | ~~~~~~~~~~~~^~~~ export_dv.c:207:59: warning: pointer targets in passing argument 1 of ‘tc_audio_encode’ differ in signedness [-Wpointer-sign] 207 | if(param->flag == TC_AUDIO) return(tc_audio_encode(param->buffer, param->size, avifile)); | ~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from export_dv.c:30: aud_aux.h:33:27: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 33 | int tc_audio_encode(char *aud_buffer, int aud_size, avi_t *avifile); | ~~~~~~^~~~~~~~~~ aud_aux.c: In function ‘tc_audio_close’: aud_aux.c:1038:46: warning: pointer targets in passing argument 2 of ‘lame_encode_flush’ differ in signedness [-Wpointer-sign] 1038 | outsize = lame_encode_flush(lgf, output, 0); | ^~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:877:30: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 877 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ aud_aux.c: In function ‘tc_audio_encode_mp3’: aud_aux.c:757:23: warning: pointer targets in passing argument 5 of ‘lame_encode_buffer’ differ in signedness [-Wpointer-sign] 757 | output+output_len, | ~~~~~~^~~~~~~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:721:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 721 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ aud_aux.c:764:24: warning: pointer targets in passing argument 4 of ‘lame_encode_buffer_interleaved’ differ in signedness [-Wpointer-sign] 764 | output + output_len, | ~~~~~~~^~~~~~~~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:738:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 738 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ aud_aux.c:814:45: warning: pointer targets in passing argument 1 of ‘tc_get_mp3_header’ differ in signedness [-Wpointer-sign] 814 | while((size=tc_get_mp3_header(output+offset, NULL, NULL)) > 0) | ~~~~~~^~~~~~~ | | | char * aud_aux.c:140:45: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 140 | static int tc_get_mp3_header(unsigned char* hbuf, int* chans, int* srate); | ~~~~~~~~~~~~~~~^~~~ export_divx5.c: In function ‘export_divx5_encode’: export_divx5.c:699:59: warning: pointer targets in passing argument 1 of ‘tc_audio_encode’ differ in signedness [-Wpointer-sign] 699 | if(param->flag == TC_AUDIO) return(tc_audio_encode(param->buffer, param->size, avifile)); | ~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from export_divx5.c:62: aud_aux.h:33:27: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 33 | int tc_audio_encode(char *aud_buffer, int aud_size, avi_t *avifile); | ~~~~~~^~~~~~~~~~ aud_aux.c: In function ‘tc_audio_close’: aud_aux.c:1038:46: warning: pointer targets in passing argument 2 of ‘lame_encode_flush’ differ in signedness [-Wpointer-sign] 1038 | outsize = lame_encode_flush(lgf, output, 0); | ^~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:877:30: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 877 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ divx4_vbr.c: In function ‘VbrControl_init_2pass_vbr_encoding’: divx4_vbr.c:151:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 151 | fread(head, 10, 1, m_pFile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ divx4_vbr.c:157:9: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 157 | fscanf(m_pFile, "%d\n", &version); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ divx4_vbr.c:158:9: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 158 | fscanf(m_pFile, "quality %d\n", &iOldQual); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ divx4_vbr.c:204:9: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 204 | fscanf(m_pFile, "Frame %d: intra %d, quant %d, texture %d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | "motion %d, total %d\n", | ~~~~~~~~~~~~~~~~~~~~~~~~ 206 | &iNumFrames, (int *) &(vFrame.is_key_frame), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 207 | &(vFrame.quant), &(vFrame.text_bits), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 208 | &(vFrame.motion_bits), &(vFrame.total_bits)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ divx4_vbr.c:236:9: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 236 | fscanf(m_pFile, "Frame %d: intra %d, quant %d, texture %d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 237 | "motion %d, total %d\n", | ~~~~~~~~~~~~~~~~~~~~~~~~ 238 | &dummy, (int *) &(m_vFrames[i].is_key_frame), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 239 | &(m_vFrames[i].quant), &(m_vFrames[i].text_bits), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 240 | &(m_vFrames[i].motion_bits), &(m_vFrames[i].total_bits)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/export_ac3.Tpo .deps/export_ac3.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_jpg_la-export_jpg.lo -MD -MP -MF .deps/export_jpg_la-export_jpg.Tpo -c -o export_jpg_la-export_jpg.lo `test -f 'export_jpg.c' || echo './'`export_jpg.c mv -f .deps/export_dv_la-export_dv.Tpo .deps/export_dv_la-export_dv.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_lame.lo -MD -MP -MF .deps/export_lame.Tpo -c -o export_lame.lo export_lame.c mv -f .deps/export_dvraw_la-export_dvraw.Tpo .deps/export_dvraw_la-export_dvraw.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_lzo_la-export_lzo.lo -MD -MP -MF .deps/export_lzo_la-export_lzo.Tpo -c -o export_lzo_la-export_lzo.lo `test -f 'export_lzo.c' || echo './'`export_lzo.c mv -f .deps/export_divx5_la-export_divx5.Tpo .deps/export_divx5_la-export_divx5.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_lzo_la-aud_aux.lo -MD -MP -MF .deps/export_lzo_la-aud_aux.Tpo -c -o export_lzo_la-aud_aux.lo `test -f 'aud_aux.c' || echo './'`aud_aux.c mv -f .deps/export_divx5_la-aud_aux.Tpo .deps/export_divx5_la-aud_aux.Plo mv -f .deps/export_divx5_la-divx4_vbr.Tpo .deps/export_divx5_la-divx4_vbr.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_mp2.lo -MD -MP -MF .deps/export_mp2.Tpo -c -o export_mp2.lo export_mp2.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_mp2enc_la-export_mp2enc.lo -MD -MP -MF .deps/export_mp2enc_la-export_mp2enc.Tpo -c -o export_mp2enc_la-export_mp2enc.lo `test -f 'export_mp2enc.c' || echo './'`export_mp2enc.c mv -f .deps/export_dv_la-aud_aux.Tpo .deps/export_dv_la-aud_aux.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_mpeg2enc_la-export_mpeg2enc.lo -MD -MP -MF .deps/export_mpeg2enc_la-export_mpeg2enc.Tpo -c -o export_mpeg2enc_la-export_mpeg2enc.lo `test -f 'export_mpeg2enc.c' || echo './'`export_mpeg2enc.c mv -f .deps/export_im_la-export_im.Tpo .deps/export_im_la-export_im.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_lame.lo -MD -MP -MF .deps/export_lame.Tpo -c export_lame.c -fPIC -DPIC -o .libs/export_lame.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_jpg_la-export_jpg.lo -MD -MP -MF .deps/export_jpg_la-export_jpg.Tpo -c export_jpg.c -fPIC -DPIC -o .libs/export_jpg_la-export_jpg.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_null.lo -MD -MP -MF .deps/export_null.Tpo -c -o export_null.lo export_null.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_lzo_la-export_lzo.lo -MD -MP -MF .deps/export_lzo_la-export_lzo.Tpo -c export_lzo.c -fPIC -DPIC -o .libs/export_lzo_la-export_lzo.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_lzo_la-aud_aux.lo -MD -MP -MF .deps/export_lzo_la-aud_aux.Tpo -c aud_aux.c -fPIC -DPIC -o .libs/export_lzo_la-aud_aux.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_mp2.lo -MD -MP -MF .deps/export_mp2.Tpo -c export_mp2.c -fPIC -DPIC -o .libs/export_mp2.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_mp2enc_la-export_mp2enc.lo -MD -MP -MF .deps/export_mp2enc_la-export_mp2enc.Tpo -c export_mp2enc.c -fPIC -DPIC -o .libs/export_mp2enc_la-export_mp2enc.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_mpeg2enc_la-export_mpeg2enc.lo -MD -MP -MF .deps/export_mpeg2enc_la-export_mpeg2enc.Tpo -c export_mpeg2enc.c -fPIC -DPIC -o .libs/export_mpeg2enc_la-export_mpeg2enc.o export_lame.c: In function ‘export_lame_open’: export_lame.c:82:9: warning: variable ‘verb’ set but not used [-Wunused-but-set-variable] 82 | int verb; | ^~~~ export_lame.c: In function ‘export_lame_encode’: export_lame.c:204:27: warning: pointer targets in passing argument 1 of ‘p_write’ differ in signedness [-Wpointer-sign] 204 | if (p_write (param->buffer, param->size) != param->size) | ~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} export_lame.c:50:27: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 50 | static int p_write (char *buf, size_t len) | ~~~~~~^~~ export_jpg.c: In function ‘export_jpg_encode’: export_jpg.c:284:22: warning: pointer targets in initialization of ‘char *’ from ‘uint8_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 284 | char *out_buffer = param->buffer; | ^~~~~ export_jpg.c:304:20: warning: pointer targets in assignment from ‘char *’ to ‘JSAMPLE *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 304 | image_buffer = out_buffer; | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_null.lo -MD -MP -MF .deps/export_null.Tpo -c export_null.c -fPIC -DPIC -o .libs/export_null.o export_lzo.c: In function ‘export_lzo_encode’: export_lzo.c:226:34: warning: pointer targets in passing argument 2 of ‘AVI_write_frame’ differ in signedness [-Wpointer-sign] 226 | if(AVI_write_frame(avifile2, out, out_len, key)<0) { | ^~~ | | | unsigned char * In file included from ../src/transcode.h:44, from export_lzo.c:28: ../avilib/avilib.h:329:46: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 329 | int AVI_write_frame(avi_t *AVI, const char *data, long bytes, int keyframe); | ~~~~~~~~~~~~^~~~ export_lzo.c:237:35: warning: pointer targets in passing argument 1 of ‘tc_audio_encode’ differ in signedness [-Wpointer-sign] 237 | return(tc_audio_encode(param->buffer, param->size, avifile2)); | ~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from export_lzo.c:31: aud_aux.h:33:27: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 33 | int tc_audio_encode(char *aud_buffer, int aud_size, avi_t *avifile); | ~~~~~~^~~~~~~~~~ export_mp2.c: In function ‘export_mp2_open’: export_mp2.c:148:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 148 | if (verbose > 0) | ^~ export_mp2.c:151:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 151 | if ((pFile = popen (buf, "w")) == NULL) | ^~ export_mp2.c: In function ‘export_mp2_encode’: export_mp2.c:199:27: warning: pointer targets in passing argument 1 of ‘p_write’ differ in signedness [-Wpointer-sign] 199 | if (p_write (param->buffer, param->size) != param->size) | ~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} export_mp2.c:69:34: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 69 | static inline int p_write (char *buf, size_t len) | ~~~~~~^~~ export_mp2.c: In function ‘export_mp2_close’: export_mp2.c:246:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 246 | if (pFile) | ^~ export_mp2.c:249:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 249 | pFile = NULL; | ^~~~~ aud_aux.c: In function ‘tc_audio_encode_mp3’: aud_aux.c:757:23: warning: pointer targets in passing argument 5 of ‘lame_encode_buffer’ differ in signedness [-Wpointer-sign] 757 | output+output_len, | ~~~~~~^~~~~~~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:721:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 721 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ aud_aux.c:764:24: warning: pointer targets in passing argument 4 of ‘lame_encode_buffer_interleaved’ differ in signedness [-Wpointer-sign] 764 | output + output_len, | ~~~~~~~^~~~~~~~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:738:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 738 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ aud_aux.c:814:45: warning: pointer targets in passing argument 1 of ‘tc_get_mp3_header’ differ in signedness [-Wpointer-sign] 814 | while((size=tc_get_mp3_header(output+offset, NULL, NULL)) > 0) | ~~~~~~^~~~~~~ | | | char * aud_aux.c:140:45: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 140 | static int tc_get_mp3_header(unsigned char* hbuf, int* chans, int* srate); | ~~~~~~~~~~~~~~~^~~~ aud_aux.c: In function ‘tc_audio_close’: aud_aux.c:1038:46: warning: pointer targets in passing argument 2 of ‘lame_encode_flush’ differ in signedness [-Wpointer-sign] 1038 | outsize = lame_encode_flush(lgf, output, 0); | ^~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:877:30: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 877 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ mv -f .deps/export_lame.Tpo .deps/export_lame.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_ogg.lo -MD -MP -MF .deps/export_ogg.Tpo -c -o export_ogg.lo export_ogg.c export_mpeg2enc.c: In function ‘export_mpeg2enc_init’: export_mpeg2enc.c:352:9: warning: variable ‘prof’ set but not used [-Wunused-but-set-variable] 352 | int prof = 0; | ^~~~ mv -f .deps/export_jpg_la-export_jpg.Tpo .deps/export_jpg_la-export_jpg.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_pcm.lo -MD -MP -MF .deps/export_pcm.Tpo -c -o export_pcm.lo export_pcm.c mv -f .deps/export_lzo_la-export_lzo.Tpo .deps/export_lzo_la-export_lzo.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_ppm_la-export_ppm.lo -MD -MP -MF .deps/export_ppm_la-export_ppm.Tpo -c -o export_ppm_la-export_ppm.lo `test -f 'export_ppm.c' || echo './'`export_ppm.c mv -f .deps/export_mp2.Tpo .deps/export_mp2.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_ppm_la-aud_aux.lo -MD -MP -MF .deps/export_ppm_la-aud_aux.Tpo -c -o export_ppm_la-aud_aux.lo `test -f 'aud_aux.c' || echo './'`aud_aux.c mv -f .deps/export_mp2enc_la-export_mp2enc.Tpo .deps/export_mp2enc_la-export_mp2enc.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_pvn.lo -MD -MP -MF .deps/export_pvn.Tpo -c -o export_pvn.lo export_pvn.c mv -f .deps/export_lzo_la-aud_aux.Tpo .deps/export_lzo_la-aud_aux.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_raw_la-export_raw.lo -MD -MP -MF .deps/export_raw_la-export_raw.Tpo -c -o export_raw_la-export_raw.lo `test -f 'export_raw.c' || echo './'`export_raw.c mv -f .deps/export_null.Tpo .deps/export_null.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_raw_la-aud_aux.lo -MD -MP -MF .deps/export_raw_la-aud_aux.Tpo -c -o export_raw_la-aud_aux.lo `test -f 'aud_aux.c' || echo './'`aud_aux.c mv -f .deps/export_mpeg2enc_la-export_mpeg2enc.Tpo .deps/export_mpeg2enc_la-export_mpeg2enc.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_ogg.lo -MD -MP -MF .deps/export_ogg.Tpo -c export_ogg.c -fPIC -DPIC -o .libs/export_ogg.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_tcaud_la-export_tcaud.lo -MD -MP -MF .deps/export_tcaud_la-export_tcaud.Tpo -c -o export_tcaud_la-export_tcaud.lo `test -f 'export_tcaud.c' || echo './'`export_tcaud.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_pcm.lo -MD -MP -MF .deps/export_pcm.Tpo -c export_pcm.c -fPIC -DPIC -o .libs/export_pcm.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_ppm_la-export_ppm.lo -MD -MP -MF .deps/export_ppm_la-export_ppm.Tpo -c export_ppm.c -fPIC -DPIC -o .libs/export_ppm_la-export_ppm.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_pvn.lo -MD -MP -MF .deps/export_pvn.Tpo -c export_pvn.c -fPIC -DPIC -o .libs/export_pvn.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_ppm_la-aud_aux.lo -MD -MP -MF .deps/export_ppm_la-aud_aux.Tpo -c aud_aux.c -fPIC -DPIC -o .libs/export_ppm_la-aud_aux.o export_ogg.c: In function ‘export_ogg_encode’: export_ogg.c:162:27: warning: pointer targets in passing argument 1 of ‘p_write’ differ in signedness [-Wpointer-sign] 162 | if (p_write (param->buffer, param->size) != param->size) | ~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} export_ogg.c:40:34: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 40 | static inline int p_write (char *buf, size_t len) | ~~~~~~^~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_raw_la-export_raw.lo -MD -MP -MF .deps/export_raw_la-export_raw.Tpo -c export_raw.c -fPIC -DPIC -o .libs/export_raw_la-export_raw.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_raw_la-aud_aux.lo -MD -MP -MF .deps/export_raw_la-aud_aux.Tpo -c aud_aux.c -fPIC -DPIC -o .libs/export_raw_la-aud_aux.o export_pcm.c: In function ‘export_tc_pcm_init’: export_pcm.c:82:25: warning: pointer targets in passing argument 1 of ‘strlcpy’ differ in signedness [-Wpointer-sign] 82 | strlcpy(rtf.riff.id, "RIFF", 4); | ~~~~~~~~^~~ | | | uint8_t * {aka unsigned char *} In file included from ../libtc/tcframes.h:34, from ../src/framebuffer.h:32, from ../src/transcode.h:56, from export_pcm.c:29: ../libtc/libtc.h:260:22: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 260 | size_t strlcpy(char *dst, const char *src, size_t size); | ~~~~~~^~~ export_pcm.c:83:25: warning: pointer targets in passing argument 1 of ‘strlcpy’ differ in signedness [-Wpointer-sign] 83 | strlcpy(rtf.riff.wave_id, "WAVE", 4); | ~~~~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from ../libtc/tcframes.h:34, from ../src/framebuffer.h:32, from ../src/transcode.h:56, from export_pcm.c:29: ../libtc/libtc.h:260:22: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 260 | size_t strlcpy(char *dst, const char *src, size_t size); | ~~~~~~^~~ export_pcm.c:84:27: warning: pointer targets in passing argument 1 of ‘strlcpy’ differ in signedness [-Wpointer-sign] 84 | strlcpy(rtf.format.id, "fmt ", 4); | ~~~~~~~~~~^~~ | | | uint8_t * {aka unsigned char *} In file included from ../libtc/tcframes.h:34, from ../src/framebuffer.h:32, from ../src/transcode.h:56, from export_pcm.c:29: ../libtc/libtc.h:260:22: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 260 | size_t strlcpy(char *dst, const char *src, size_t size); | ~~~~~~^~~ export_pcm.c:115:25: warning: pointer targets in passing argument 1 of ‘strlcpy’ differ in signedness [-Wpointer-sign] 115 | strlcpy(rtf.data.id, "data",4); | ~~~~~~~~^~~ | | | uint8_t * {aka unsigned char *} In file included from ../libtc/tcframes.h:34, from ../src/framebuffer.h:32, from ../src/transcode.h:56, from export_pcm.c:29: ../libtc/libtc.h:260:22: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 260 | size_t strlcpy(char *dst, const char *src, size_t size); | ~~~~~~^~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_tcaud_la-export_tcaud.lo -MD -MP -MF .deps/export_tcaud_la-export_tcaud.Tpo -c export_tcaud.c -fPIC -DPIC -o .libs/export_tcaud_la-export_tcaud.o export_ppm.c: In function ‘export_ppm_encode’: export_ppm.c:187:22: warning: pointer targets in initialization of ‘char *’ from ‘uint8_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 187 | char *out_buffer = param->buffer; | ^~~~~ export_ppm.c:199:18: warning: pointer targets in assignment from ‘uint8_t *’ {aka ‘unsigned char *’} to ‘char *’ differ in signedness [-Wpointer-sign] 199 | out_buffer = tmp_buffer; | ^ export_ppm.c:206:18: warning: pointer targets in assignment from ‘uint8_t *’ {aka ‘unsigned char *’} to ‘char *’ differ in signedness [-Wpointer-sign] 206 | out_buffer = tmp_buffer; | ^ export_ppm.c:237:59: warning: pointer targets in passing argument 1 of ‘tc_audio_encode’ differ in signedness [-Wpointer-sign] 237 | if(param->flag == TC_AUDIO) return(tc_audio_encode(param->buffer, param->size, NULL)); | ~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from export_ppm.c:30: aud_aux.h:33:27: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 33 | int tc_audio_encode(char *aud_buffer, int aud_size, avi_t *avifile); | ~~~~~~^~~~~~~~~~ export_pvn.c: In function ‘pvn_stop’: export_pvn.c:143:39: warning: pointer targets in passing argument 2 of ‘tc_pwrite’ differ in signedness [-Wpointer-sign] 143 | tc_pwrite(pd->fd, buf, len); | ^~~ | | | char * In file included from ../libtc/tcframes.h:34, from ../src/framebuffer.h:32, from ../src/transcode.h:56, from export_pvn.c:12: ../libtc/libtc.h:572:42: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 572 | ssize_t tc_pwrite(int fd, const uint8_t *buf, size_t len); | ~~~~~~~~~~~~~~~^~~ export_pvn.c: In function ‘export_pvn_open’: export_pvn.c:301:27: warning: pointer targets in passing argument 2 of ‘tc_pwrite’ differ in signedness [-Wpointer-sign] 301 | if (tc_pwrite(pd->fd, buf, len) != len) { | ^~~ | | | char * In file included from ../libtc/tcframes.h:34, from ../src/framebuffer.h:32, from ../src/transcode.h:56, from export_pvn.c:12: ../libtc/libtc.h:572:42: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 572 | ssize_t tc_pwrite(int fd, const uint8_t *buf, size_t len); | ~~~~~~~~~~~~~~~^~~ export_pvn.c:311:27: warning: pointer targets in passing argument 2 of ‘tc_pwrite’ differ in signedness [-Wpointer-sign] 311 | if (tc_pwrite(pd->fd, buf, len) != len) { | ^~~ | | | char * In file included from ../libtc/tcframes.h:34, from ../src/framebuffer.h:32, from ../src/transcode.h:56, from export_pvn.c:12: ../libtc/libtc.h:572:42: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 572 | ssize_t tc_pwrite(int fd, const uint8_t *buf, size_t len); | ~~~~~~~~~~~~~~~^~~ mv -f .deps/export_ogg.Tpo .deps/export_ogg.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_tcaud_la-aud_aux.lo -MD -MP -MF .deps/export_tcaud_la-aud_aux.Tpo -c -o export_tcaud_la-aud_aux.lo `test -f 'aud_aux.c' || echo './'`aud_aux.c aud_aux.c: In function ‘tc_audio_encode_mp3’: aud_aux.c:757:23: warning: pointer targets in passing argument 5 of ‘lame_encode_buffer’ differ in signedness [-Wpointer-sign] 757 | output+output_len, | ~~~~~~^~~~~~~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:721:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 721 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ aud_aux.c:764:24: warning: pointer targets in passing argument 4 of ‘lame_encode_buffer_interleaved’ differ in signedness [-Wpointer-sign] 764 | output + output_len, | ~~~~~~~^~~~~~~~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:738:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 738 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ aud_aux.c:814:45: warning: pointer targets in passing argument 1 of ‘tc_get_mp3_header’ differ in signedness [-Wpointer-sign] 814 | while((size=tc_get_mp3_header(output+offset, NULL, NULL)) > 0) | ~~~~~~^~~~~~~ | | | char * aud_aux.c:140:45: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 140 | static int tc_get_mp3_header(unsigned char* hbuf, int* chans, int* srate); | ~~~~~~~~~~~~~~~^~~~ aud_aux.c: In function ‘tc_audio_close’: aud_aux.c:1038:46: warning: pointer targets in passing argument 2 of ‘lame_encode_flush’ differ in signedness [-Wpointer-sign] 1038 | outsize = lame_encode_flush(lgf, output, 0); | ^~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:877:30: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 877 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ export_raw.c: In function ‘export_raw_encode’: export_raw.c:397:39: warning: pointer targets in passing argument 2 of ‘AVI_write_frame’ differ in signedness [-Wpointer-sign] 397 | if(AVI_write_frame(avifile2, param->buffer, size, key)<0) { | ~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from ../src/transcode.h:44, from export_raw.c:28: ../avilib/avilib.h:329:46: note: expected ‘const char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 329 | int AVI_write_frame(avi_t *AVI, const char *data, long bytes, int keyframe); | ~~~~~~~~~~~~^~~~ export_raw.c:407:59: warning: pointer targets in passing argument 1 of ‘tc_audio_encode’ differ in signedness [-Wpointer-sign] 407 | if(param->flag == TC_AUDIO) return(tc_audio_encode(param->buffer, param->size, avifile2)); | ~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from export_raw.c:29: aud_aux.h:33:27: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 33 | int tc_audio_encode(char *aud_buffer, int aud_size, avi_t *avifile); | ~~~~~~^~~~~~~~~~ mv -f .deps/export_pcm.Tpo .deps/export_pcm.Plo aud_aux.c: In function ‘tc_audio_encode_mp3’: mv -f .deps/export_ppm_la-export_ppm.Tpo .deps/export_ppm_la-export_ppm.Plo aud_aux.c:757:23: warning: pointer targets in passing argument 5 of ‘lame_encode_buffer’ differ in signedness [-Wpointer-sign] 757 | output+output_len, | ~~~~~~^~~~~~~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:721:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 721 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ aud_aux.c:764:24: warning: pointer targets in passing argument 4 of ‘lame_encode_buffer_interleaved’ differ in signedness [-Wpointer-sign] 764 | output + output_len, | ~~~~~~~^~~~~~~~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:738:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 738 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_toolame.lo -MD -MP -MF .deps/export_toolame.Tpo -c -o export_toolame.lo export_toolame.c aud_aux.c:814:45: warning: pointer targets in passing argument 1 of ‘tc_get_mp3_header’ differ in signedness [-Wpointer-sign] 814 | while((size=tc_get_mp3_header(output+offset, NULL, NULL)) > 0) | ~~~~~~^~~~~~~ | | | char * aud_aux.c:140:45: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 140 | static int tc_get_mp3_header(unsigned char* hbuf, int* chans, int* srate); | ~~~~~~~~~~~~~~~^~~~ aud_aux.c: In function ‘tc_audio_close’: aud_aux.c:1038:46: warning: pointer targets in passing argument 2 of ‘lame_encode_flush’ differ in signedness [-Wpointer-sign] 1038 | outsize = lame_encode_flush(lgf, output, 0); | ^~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:877:30: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 877 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_wav.lo -MD -MP -MF .deps/export_wav.Tpo -c -o export_wav.lo export_wav.c export_tcaud.c: In function ‘export_tcaud_encode’: export_tcaud.c:55:37: warning: pointer targets in passing argument 1 of ‘tc_audio_encode’ differ in signedness [-Wpointer-sign] 55 | return tc_audio_encode(param->buffer, param->size, vob->avifile_out); | ~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from export_tcaud.c:19: aud_aux.h:33:27: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 33 | int tc_audio_encode(char *aud_buffer, int aud_size, avi_t *avifile); | ~~~~~~^~~~~~~~~~ mv -f .deps/export_pvn.Tpo .deps/export_pvn.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_xvid4_la-export_xvid4.lo -MD -MP -MF .deps/export_xvid4_la-export_xvid4.Tpo -c -o export_xvid4_la-export_xvid4.lo `test -f 'export_xvid4.c' || echo './'`export_xvid4.c mv -f .deps/export_tcaud_la-export_tcaud.Tpo .deps/export_tcaud_la-export_tcaud.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_xvid4_la-aud_aux.lo -MD -MP -MF .deps/export_xvid4_la-aud_aux.Tpo -c -o export_xvid4_la-aud_aux.lo `test -f 'aud_aux.c' || echo './'`aud_aux.c mv -f .deps/export_raw_la-export_raw.Tpo .deps/export_raw_la-export_raw.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_yuv4mpeg_la-export_yuv4mpeg.lo -MD -MP -MF .deps/export_yuv4mpeg_la-export_yuv4mpeg.Tpo -c -o export_yuv4mpeg_la-export_yuv4mpeg.lo `test -f 'export_yuv4mpeg.c' || echo './'`export_yuv4mpeg.c mv -f .deps/export_ppm_la-aud_aux.Tpo .deps/export_ppm_la-aud_aux.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_tcaud_la-aud_aux.lo -MD -MP -MF .deps/export_tcaud_la-aud_aux.Tpo -c aud_aux.c -fPIC -DPIC -o .libs/export_tcaud_la-aud_aux.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_yuv4mpeg_la-aud_aux.lo -MD -MP -MF .deps/export_yuv4mpeg_la-aud_aux.Tpo -c -o export_yuv4mpeg_la-aud_aux.lo `test -f 'aud_aux.c' || echo './'`aud_aux.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_toolame.lo -MD -MP -MF .deps/export_toolame.Tpo -c export_toolame.c -fPIC -DPIC -o .libs/export_toolame.o mv -f .deps/export_raw_la-aud_aux.Tpo .deps/export_raw_la-aud_aux.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_ac3.la -rpath /usr/lib/transcode export_ac3.lo -lm -lz -ldl libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_wav.lo -MD -MP -MF .deps/export_wav.Tpo -c export_wav.c -fPIC -DPIC -o .libs/export_wav.o aud_aux.c: In function ‘tc_audio_encode_mp3’: aud_aux.c:757:23: warning: pointer targets in passing argument 5 of ‘lame_encode_buffer’ differ in signedness [-Wpointer-sign] 757 | output+output_len, | ~~~~~~^~~~~~~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:721:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 721 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ aud_aux.c:764:24: warning: pointer targets in passing argument 4 of ‘lame_encode_buffer_interleaved’ differ in signedness [-Wpointer-sign] 764 | output + output_len, | ~~~~~~~^~~~~~~~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:738:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 738 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ aud_aux.c:814:45: warning: pointer targets in passing argument 1 of ‘tc_get_mp3_header’ differ in signedness [-Wpointer-sign] 814 | while((size=tc_get_mp3_header(output+offset, NULL, NULL)) > 0) | ~~~~~~^~~~~~~ | | | char * aud_aux.c:140:45: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 140 | static int tc_get_mp3_header(unsigned char* hbuf, int* chans, int* srate); | ~~~~~~~~~~~~~~~^~~~ aud_aux.c: In function ‘tc_audio_close’: aud_aux.c:1038:46: warning: pointer targets in passing argument 2 of ‘lame_encode_flush’ differ in signedness [-Wpointer-sign] 1038 | outsize = lame_encode_flush(lgf, output, 0); | ^~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:877:30: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 877 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_xvid4_la-export_xvid4.lo -MD -MP -MF .deps/export_xvid4_la-export_xvid4.Tpo -c export_xvid4.c -fPIC -DPIC -o .libs/export_xvid4_la-export_xvid4.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_xvid4_la-aud_aux.lo -MD -MP -MF .deps/export_xvid4_la-aud_aux.Tpo -c aud_aux.c -fPIC -DPIC -o .libs/export_xvid4_la-aud_aux.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_yuv4mpeg_la-export_yuv4mpeg.lo -MD -MP -MF .deps/export_yuv4mpeg_la-export_yuv4mpeg.Tpo -c export_yuv4mpeg.c -fPIC -DPIC -o .libs/export_yuv4mpeg_la-export_yuv4mpeg.o export_toolame.c: In function ‘export_twolame_open’: export_toolame.c:81:9: warning: variable ‘verb’ set but not used [-Wunused-but-set-variable] 81 | int verb; | ^~~~ export_toolame.c: In function ‘export_twolame_encode’: export_toolame.c:180:27: warning: pointer targets in passing argument 1 of ‘p_write’ differ in signedness [-Wpointer-sign] 180 | if (p_write (param->buffer, param->size) != param->size) | ~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} export_toolame.c:53:27: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 53 | static int p_write (char *buf, size_t len) | ~~~~~~^~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT export_yuv4mpeg_la-aud_aux.lo -MD -MP -MF .deps/export_yuv4mpeg_la-aud_aux.Tpo -c aud_aux.c -fPIC -DPIC -o .libs/export_yuv4mpeg_la-aud_aux.o mv -f .deps/export_wav.Tpo .deps/export_wav.Plo libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_ac3.o -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_ac3.so -o .libs/export_ac3.so mv -f .deps/export_toolame.Tpo .deps/export_toolame.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_divx5.la -rpath /usr/lib/transcode export_divx5_la-export_divx5.lo export_divx5_la-aud_aux.lo export_divx5_la-divx4_vbr.lo -L/usr/lib -lmp3lame -lm -lz -ldl /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_dv.la -rpath /usr/lib/transcode export_dv_la-export_dv.lo export_dv_la-aud_aux.lo -ldv -lm -L/usr/lib -lmp3lame -lm -lz -ldl aud_aux.c: In function ‘tc_audio_encode_mp3’: aud_aux.c:757:23: warning: pointer targets in passing argument 5 of ‘lame_encode_buffer’ differ in signedness [-Wpointer-sign] 757 | output+output_len, | ~~~~~~^~~~~~~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:721:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 721 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ aud_aux.c:764:24: warning: pointer targets in passing argument 4 of ‘lame_encode_buffer_interleaved’ differ in signedness [-Wpointer-sign] 764 | output + output_len, | ~~~~~~~^~~~~~~~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:738:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 738 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ aud_aux.c:814:45: warning: pointer targets in passing argument 1 of ‘tc_get_mp3_header’ differ in signedness [-Wpointer-sign] 814 | while((size=tc_get_mp3_header(output+offset, NULL, NULL)) > 0) | ~~~~~~^~~~~~~ | | | char * aud_aux.c:140:45: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 140 | static int tc_get_mp3_header(unsigned char* hbuf, int* chans, int* srate); | ~~~~~~~~~~~~~~~^~~~ export_yuv4mpeg.c: In function ‘export_yuv4mpeg_encode’: export_yuv4mpeg.c:222:37: warning: pointer targets in passing argument 1 of ‘tc_audio_encode’ differ in signedness [-Wpointer-sign] 222 | return tc_audio_encode(param->buffer, param->size, NULL); | ~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} aud_aux.c: In function ‘tc_audio_close’: In file included from export_yuv4mpeg.c:31: aud_aux.h:33:27: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 33 | int tc_audio_encode(char *aud_buffer, int aud_size, avi_t *avifile); | ~~~~~~^~~~~~~~~~ aud_aux.c:1038:46: warning: pointer targets in passing argument 2 of ‘lame_encode_flush’ differ in signedness [-Wpointer-sign] 1038 | outsize = lame_encode_flush(lgf, output, 0); | ^~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:877:30: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 877 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ mv -f .deps/export_tcaud_la-aud_aux.Tpo .deps/export_tcaud_la-aud_aux.Plo export_xvid4.c: In function ‘tc_xvid_write’: export_xvid4.c:367:60: warning: pointer targets in passing argument 2 of ‘AVI_write_frame’ differ in signedness [-Wpointer-sign] 367 | int ret = AVI_write_frame(vob->avifile_out, thismod.stream, bytes, | ~~~~~~~^~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from ../src/transcode.h:44, from export_xvid4.c:59: ../avilib/avilib.h:329:46: note: expected ‘const char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 329 | int AVI_write_frame(avi_t *AVI, const char *data, long bytes, int keyframe); | ~~~~~~~~~~~~^~~~ export_xvid4.c: In function ‘export_xvid4__encode’: export_xvid4.c:398:37: warning: pointer targets in passing argument 1 of ‘tc_audio_encode’ differ in signedness [-Wpointer-sign] 398 | return(tc_audio_encode(param->buffer, param->size, vob->avifile_out)); | ~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from export_xvid4.c:61: aud_aux.h:33:27: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 33 | int tc_audio_encode(char *aud_buffer, int aud_size, avi_t *avifile); | ~~~~~~^~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_dvraw.la -rpath /usr/lib/transcode export_dvraw_la-export_dvraw.lo -ldv -lm -lm -lm -lz -ldl aud_aux.c: In function ‘tc_audio_encode_mp3’: aud_aux.c:757:23: warning: pointer targets in passing argument 5 of ‘lame_encode_buffer’ differ in signedness [-Wpointer-sign] 757 | output+output_len, | ~~~~~~^~~~~~~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:721:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 721 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ aud_aux.c:764:24: warning: pointer targets in passing argument 4 of ‘lame_encode_buffer_interleaved’ differ in signedness [-Wpointer-sign] 764 | output + output_len, | ~~~~~~~^~~~~~~~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:738:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 738 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~^~~~~~ aud_aux.c:814:45: warning: pointer targets in passing argument 1 of ‘tc_get_mp3_header’ differ in signedness [-Wpointer-sign] 814 | while((size=tc_get_mp3_header(output+offset, NULL, NULL)) > 0) | ~~~~~~^~~~~~~ | | | char * aud_aux.c:140:45: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 140 | static int tc_get_mp3_header(unsigned char* hbuf, int* chans, int* srate); | ~~~~~~~~~~~~~~~^~~~ aud_aux.c: In function ‘tc_audio_close’: aud_aux.c:1038:46: warning: pointer targets in passing argument 2 of ‘lame_encode_flush’ differ in signedness [-Wpointer-sign] 1038 | outsize = lame_encode_flush(lgf, output, 0); | ^~~~~~ | | | char * In file included from aud_aux.c:41: /usr/include/lame/lame.h:877:30: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 877 | unsigned char* mp3buf, /* pointer to encoded MP3 stream */ | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ mv -f .deps/export_yuv4mpeg_la-export_yuv4mpeg.Tpo .deps/export_yuv4mpeg_la-export_yuv4mpeg.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_im.la -rpath /usr/lib/transcode export_im_la-export_im.lo -lMagickWand-7.Q16HDRI -lMagickCore-7.Q16HDRI -lm -lm -lz -ldl mv -f .deps/export_xvid4_la-aud_aux.Tpo .deps/export_xvid4_la-aud_aux.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_jpg.la -rpath /usr/lib/transcode export_jpg_la-export_jpg.lo -L/usr/lib -ljpeg -lm -lm -lz -ldl mv -f .deps/export_yuv4mpeg_la-aud_aux.Tpo .deps/export_yuv4mpeg_la-aud_aux.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_lame.la -rpath /usr/lib/transcode export_lame.lo -lm -lz -ldl libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_divx5_la-export_divx5.o .libs/export_divx5_la-aud_aux.o .libs/export_divx5_la-divx4_vbr.o -L/usr/lib -lmp3lame -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_divx5.so -o .libs/export_divx5.so libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_dv_la-export_dv.o .libs/export_dv_la-aud_aux.o -ldv -L/usr/lib -lmp3lame -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_dv.so -o .libs/export_dv.so mv -f .deps/export_xvid4_la-export_xvid4.Tpo .deps/export_xvid4_la-export_xvid4.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_lzo.la -rpath /usr/lib/transcode export_lzo_la-export_lzo.lo export_lzo_la-aud_aux.lo -L/usr/lib -llzo2 -L/usr/lib -lmp3lame -lm -lz -ldl libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_dvraw_la-export_dvraw.o -ldv -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_dvraw.so -o .libs/export_dvraw.so libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_im_la-export_im.o -lMagickWand-7.Q16HDRI -lMagickCore-7.Q16HDRI -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_im.so -o .libs/export_im.so libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_jpg_la-export_jpg.o -L/usr/lib -ljpeg -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_jpg.so -o .libs/export_jpg.so libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_lame.o -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_lame.so -o .libs/export_lame.so libtool: link: ( cd ".libs" && rm -f "export_ac3.la" && ln -s "../export_ac3.la" "export_ac3.la" ) /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_mp2.la -rpath /usr/lib/transcode export_mp2.lo -lm -lz -ldl libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_lzo_la-export_lzo.o .libs/export_lzo_la-aud_aux.o -L/usr/lib -llzo2 -lmp3lame -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_lzo.so -o .libs/export_lzo.so libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_mp2.o -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_mp2.so -o .libs/export_mp2.so libtool: link: ( cd ".libs" && rm -f "export_dvraw.la" && ln -s "../export_dvraw.la" "export_dvraw.la" ) /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_mp2enc.la -rpath /usr/lib/transcode export_mp2enc_la-export_mp2enc.lo -lm -lm -lz -ldl libtool: link: ( cd ".libs" && rm -f "export_im.la" && ln -s "../export_im.la" "export_im.la" ) /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_mpeg2enc.la -rpath /usr/lib/transcode export_mpeg2enc_la-export_mpeg2enc.lo -lmjpegutils -lm -lm -lz -ldl libtool: link: ( cd ".libs" && rm -f "export_lame.la" && ln -s "../export_lame.la" "export_lame.la" ) /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_null.la -rpath /usr/lib/transcode export_null.lo -lm -lz -ldl libtool: link: ( cd ".libs" && rm -f "export_jpg.la" && ln -s "../export_jpg.la" "export_jpg.la" ) /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_ogg.la -rpath /usr/lib/transcode export_ogg.lo -lm -lz -ldl libtool: link: ( cd ".libs" && rm -f "export_dv.la" && ln -s "../export_dv.la" "export_dv.la" ) /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_pcm.la -rpath /usr/lib/transcode export_pcm.lo -lm -lz -ldl libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_mp2enc_la-export_mp2enc.o -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_mp2enc.so -o .libs/export_mp2enc.so libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_mpeg2enc_la-export_mpeg2enc.o -lmjpegutils -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_mpeg2enc.so -o .libs/export_mpeg2enc.so libtool: link: ( cd ".libs" && rm -f "export_mp2.la" && ln -s "../export_mp2.la" "export_mp2.la" ) libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_null.o -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_null.so -o .libs/export_null.so /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_ppm.la -rpath /usr/lib/transcode export_ppm_la-export_ppm.lo export_ppm_la-aud_aux.lo -L/usr/lib -lmp3lame -lm -lz -ldl libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_ogg.o -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_ogg.so -o .libs/export_ogg.so libtool: link: ( cd ".libs" && rm -f "export_divx5.la" && ln -s "../export_divx5.la" "export_divx5.la" ) /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_pvn.la -rpath /usr/lib/transcode export_pvn.lo -lm -lz -ldl libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_pcm.o -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_pcm.so -o .libs/export_pcm.so libtool: link: ( cd ".libs" && rm -f "export_lzo.la" && ln -s "../export_lzo.la" "export_lzo.la" ) /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_raw.la -rpath /usr/lib/transcode export_raw_la-export_raw.lo export_raw_la-aud_aux.lo -L/usr/lib -lmp3lame -lm -lz -ldl libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_ppm_la-export_ppm.o .libs/export_ppm_la-aud_aux.o -L/usr/lib -lmp3lame -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_ppm.so -o .libs/export_ppm.so libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_pvn.o -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_pvn.so -o .libs/export_pvn.so libtool: link: ( cd ".libs" && rm -f "export_null.la" && ln -s "../export_null.la" "export_null.la" ) libtool: link: ( cd ".libs" && rm -f "export_mp2enc.la" && ln -s "../export_mp2enc.la" "export_mp2enc.la" ) libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_raw_la-export_raw.o .libs/export_raw_la-aud_aux.o -L/usr/lib -lmp3lame -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_raw.so -o .libs/export_raw.so /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_tcaud.la -rpath /usr/lib/transcode export_tcaud_la-export_tcaud.lo export_tcaud_la-aud_aux.lo -L/usr/lib -lmp3lame -lm -lz -ldl /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_toolame.la -rpath /usr/lib/transcode export_toolame.lo -lm -lz -ldl libtool: link: ( cd ".libs" && rm -f "export_ogg.la" && ln -s "../export_ogg.la" "export_ogg.la" ) /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_wav.la -rpath /usr/lib/transcode export_wav.lo -lm -lm -lz -ldl libtool: link: ( cd ".libs" && rm -f "export_mpeg2enc.la" && ln -s "../export_mpeg2enc.la" "export_mpeg2enc.la" ) /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_xvid4.la -rpath /usr/lib/transcode export_xvid4_la-export_xvid4.lo export_xvid4_la-aud_aux.lo -L/usr/lib -lmp3lame -lm -lz -ldl libtool: link: ( cd ".libs" && rm -f "export_pcm.la" && ln -s "../export_pcm.la" "export_pcm.la" ) libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_tcaud_la-export_tcaud.o .libs/export_tcaud_la-aud_aux.o -L/usr/lib -lmp3lame -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_tcaud.so -o .libs/export_tcaud.so /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o export_yuv4mpeg.la -rpath /usr/lib/transcode export_yuv4mpeg_la-export_yuv4mpeg.lo export_yuv4mpeg_la-aud_aux.lo -lmjpegutils -L/usr/lib -lmp3lame -lm -lz -ldl libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_toolame.o -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_toolame.so -o .libs/export_toolame.so libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_wav.o -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_wav.so -o .libs/export_wav.so libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_xvid4_la-export_xvid4.o .libs/export_xvid4_la-aud_aux.o -L/usr/lib -lmp3lame -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_xvid4.so -o .libs/export_xvid4.so libtool: link: ( cd ".libs" && rm -f "export_pvn.la" && ln -s "../export_pvn.la" "export_pvn.la" ) libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/export_yuv4mpeg_la-export_yuv4mpeg.o .libs/export_yuv4mpeg_la-aud_aux.o -lmjpegutils -L/usr/lib -lmp3lame -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,export_yuv4mpeg.so -o .libs/export_yuv4mpeg.so libtool: link: ( cd ".libs" && rm -f "export_ppm.la" && ln -s "../export_ppm.la" "export_ppm.la" ) libtool: link: ( cd ".libs" && rm -f "export_toolame.la" && ln -s "../export_toolame.la" "export_toolame.la" ) libtool: link: ( cd ".libs" && rm -f "export_wav.la" && ln -s "../export_wav.la" "export_wav.la" ) libtool: link: ( cd ".libs" && rm -f "export_raw.la" && ln -s "../export_raw.la" "export_raw.la" ) libtool: link: ( cd ".libs" && rm -f "export_tcaud.la" && ln -s "../export_tcaud.la" "export_tcaud.la" ) libtool: link: ( cd ".libs" && rm -f "export_yuv4mpeg.la" && ln -s "../export_yuv4mpeg.la" "export_yuv4mpeg.la" ) libtool: link: ( cd ".libs" && rm -f "export_xvid4.la" && ln -s "../export_xvid4.la" "export_xvid4.la" ) make[2]: Leaving directory '/build/transcode/src/transcode-1.1.7/export' Making all in filter make[2]: Entering directory '/build/transcode/src/transcode-1.1.7/filter' Making all in divxkey make[3]: Entering directory '/build/transcode/src/transcode-1.1.7/filter/divxkey' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT filter_divxkey.lo -MD -MP -MF .deps/filter_divxkey.Tpo -c -o filter_divxkey.lo filter_divxkey.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT bitstream.lo -MD -MP -MF .deps/bitstream.Tpo -c -o bitstream.lo bitstream.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT filter_divxkey.lo -MD -MP -MF .deps/filter_divxkey.Tpo -c filter_divxkey.c -fPIC -DPIC -o .libs/filter_divxkey.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT bitstream.lo -MD -MP -MF .deps/bitstream.Tpo -c bitstream.c -fPIC -DPIC -o .libs/bitstream.o bitstream.c: In function ‘bs_vol’: bitstream.c:57:18: warning: variable ‘height’ set but not used [-Wunused-but-set-variable] 57 | uint32_t height; | ^~~~~~ bitstream.c:56:18: warning: variable ‘width’ set but not used [-Wunused-but-set-variable] 56 | uint32_t width; | ^~~~~ filter_divxkey.c: In function ‘tc_filter’: filter_divxkey.c:179:60: warning: pointer targets in passing argument 1 of ‘quicktime_divx3_is_key’ differ in signedness [-Wpointer-sign] 179 | if(ptr->video_size>4) cc3=quicktime_divx3_is_key((unsigned char *)ptr->video_buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * filter_divxkey.c:83:41: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 83 | static int quicktime_divx3_is_key(char *d) | ~~~~~~^ mv -f .deps/bitstream.Tpo .deps/bitstream.Plo mv -f .deps/filter_divxkey.Tpo .deps/filter_divxkey.Plo /bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o filter_divxkey.la -rpath /usr/lib/transcode filter_divxkey.lo bitstream.lo -lm -lz -ldl libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/filter_divxkey.o .libs/bitstream.o -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,filter_divxkey.so -o .libs/filter_divxkey.so libtool: link: ( cd ".libs" && rm -f "filter_divxkey.la" && ln -s "../filter_divxkey.la" "filter_divxkey.la" ) make[3]: Leaving directory '/build/transcode/src/transcode-1.1.7/filter/divxkey' Making all in extsub make[3]: Entering directory '/build/transcode/src/transcode-1.1.7/filter/extsub' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT filter_extsub.lo -MD -MP -MF .deps/filter_extsub.Tpo -c -o filter_extsub.lo filter_extsub.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT subproc.lo -MD -MP -MF .deps/subproc.Tpo -c -o subproc.lo subproc.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT subtitle_buffer.lo -MD -MP -MF .deps/subtitle_buffer.Tpo -c -o subtitle_buffer.lo subtitle_buffer.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT subproc.lo -MD -MP -MF .deps/subproc.Tpo -c subproc.c -fPIC -DPIC -o .libs/subproc.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT filter_extsub.lo -MD -MP -MF .deps/filter_extsub.Tpo -c filter_extsub.c -fPIC -DPIC -o .libs/filter_extsub.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT subtitle_buffer.lo -MD -MP -MF .deps/subtitle_buffer.Tpo -c subtitle_buffer.c -fPIC -DPIC -o .libs/subtitle_buffer.o subproc.c: In function ‘parse_data_sequence’: subproc.c:183:11: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 183 | picture = config.sub.frame; | ^ subproc.c:176:7: warning: variable ‘linestart’ set but not used [-Wunused-but-set-variable] 176 | int linestart=0; | ^~~~~~~~~ filter_extsub.c: In function ‘anti_alias_subtitle’: filter_extsub.c:234:30: warning: pointer targets in passing argument 2 of ‘tcv_antialias’ differ in signedness [-Wpointer-sign] 234 | tcv_antialias(tcvhandle, sub_frame, tmp_frame, sub_xlen, sub_ylen, 1, | ^~~~~~~~~ | | | char * In file included from ../../src/transcode.h:48, from filter_extsub.c:29: ../../libtcvideo/tcvideo.h:90:28: note: expected ‘uint8_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 90 | uint8_t *src, uint8_t *dest, int width, int height, | ~~~~~~~~~^~~ filter_extsub.c:234:41: warning: pointer targets in passing argument 3 of ‘tcv_antialias’ differ in signedness [-Wpointer-sign] 234 | tcv_antialias(tcvhandle, sub_frame, tmp_frame, sub_xlen, sub_ylen, 1, | ^~~~~~~~~ | | | char * In file included from ../../src/transcode.h:48, from filter_extsub.c:29: ../../libtcvideo/tcvideo.h:90:42: note: expected ‘uint8_t *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 90 | uint8_t *src, uint8_t *dest, int width, int height, | ~~~~~~~~~^~~~ subproc.c: In function ‘process_title’: subproc.c:404:16: warning: variable ‘ctrl_size’ set but not used [-Wunused-but-set-variable] 404 | unsigned int ctrl_size ; | ^~~~~~~~~ subproc.c: In function ‘process_sub’: subproc.c:426:18: warning: variable ‘ts’ set but not used [-Wunused-but-set-variable] 426 | unsigned short ts; | ^~ filter_extsub.c: In function ‘tc_filter’: filter_extsub.c:596:27: warning: pointer targets in passing argument 1 of ‘subtitle_overlay’ differ in signedness [-Wpointer-sign] 596 | subtitle_overlay(ptr->video_buf, ptr->v_width, ptr->v_height); | ~~~^~~~~~~~~~~ | | | uint8_t * {aka unsigned char *} filter_extsub.c:368:36: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 368 | static void subtitle_overlay(char *vid_frame, int w, int h) | ~~~~~~^~~~~~~~~ filter_extsub.c:616:27: warning: pointer targets in passing argument 1 of ‘subtitle_overlay’ differ in signedness [-Wpointer-sign] 616 | subtitle_overlay(ptr->video_buf, ptr->v_width, ptr->v_height); | ~~~^~~~~~~~~~~ | | | uint8_t * {aka unsigned char *} filter_extsub.c:368:36: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 368 | static void subtitle_overlay(char *vid_frame, int w, int h) | ~~~~~~^~~~~~~~~ mv -f .deps/subtitle_buffer.Tpo .deps/subtitle_buffer.Plo mv -f .deps/filter_extsub.Tpo .deps/filter_extsub.Plo mv -f .deps/subproc.Tpo .deps/subproc.Plo /bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o filter_extsub.la -rpath /usr/lib/transcode filter_extsub.lo subproc.lo subtitle_buffer.lo -lm -lz -ldl /bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o filter_extsub2.la -rpath /usr/lib/transcode filter_extsub.lo subproc.lo subtitle_buffer.lo -lm -lz -ldl libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/filter_extsub.o .libs/subproc.o .libs/subtitle_buffer.o -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,filter_extsub2.so -o .libs/filter_extsub2.so libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/filter_extsub.o .libs/subproc.o .libs/subtitle_buffer.o -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,filter_extsub.so -o .libs/filter_extsub.so libtool: link: ( cd ".libs" && rm -f "filter_extsub.la" && ln -s "../filter_extsub.la" "filter_extsub.la" ) libtool: link: ( cd ".libs" && rm -f "filter_extsub2.la" && ln -s "../filter_extsub2.la" "filter_extsub2.la" ) make[3]: Leaving directory '/build/transcode/src/transcode-1.1.7/filter/extsub' Making all in preview make[3]: Entering directory '/build/transcode/src/transcode-1.1.7/filter/preview' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I../.. -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT filter_preview.lo -MD -MP -MF .deps/filter_preview.Tpo -c -o filter_preview.lo filter_preview.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I../.. -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT display.lo -MD -MP -MF .deps/display.Tpo -c -o display.lo display.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I../.. -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT filter_sdlview.lo -MD -MP -MF .deps/filter_sdlview.Tpo -c -o filter_sdlview.lo filter_sdlview.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I../.. -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT filter_sdlview.lo -MD -MP -MF .deps/filter_sdlview.Tpo -c filter_sdlview.c -fPIC -DPIC -o .libs/filter_sdlview.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I../.. -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT filter_preview.lo -MD -MP -MF .deps/filter_preview.Tpo -c filter_preview.c -fPIC -DPIC -o .libs/filter_preview.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I../.. -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT display.lo -MD -MP -MF .deps/display.Tpo -c display.c -fPIC -DPIC -o .libs/display.o filter_sdlview.c: In function ‘sdlview_filter_video’: filter_sdlview.c:278:9: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 278 | int ret = 0; | ^~~ mv -f .deps/filter_preview.Tpo .deps/filter_preview.Plo mv -f .deps/filter_sdlview.Tpo .deps/filter_sdlview.Plo /bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o filter_sdlview.la -rpath /usr/lib/transcode filter_sdlview.lo -lSDL -lpthread -lSDL -lpthread mv -f .deps/display.Tpo .deps/display.Plo /bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o filter_preview.la -rpath /usr/lib/transcode filter_preview.lo display.lo -lSM -lICE -lXext -lX11 -ldv -lm -lSDL -lpthread libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/filter_sdlview.o -lSDL -lpthread -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,filter_sdlview.so -o .libs/filter_sdlview.so libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/filter_preview.o .libs/display.o -lSM -lICE -lXext -lX11 -ldv -lm -lSDL -lpthread -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,filter_preview.so -o .libs/filter_preview.so libtool: link: ( cd ".libs" && rm -f "filter_sdlview.la" && ln -s "../filter_sdlview.la" "filter_sdlview.la" ) libtool: link: ( cd ".libs" && rm -f "filter_preview.la" && ln -s "../filter_preview.la" "filter_preview.la" ) make[3]: Leaving directory '/build/transcode/src/transcode-1.1.7/filter/preview' Making all in subtitler make[3]: Entering directory '/build/transcode/src/transcode-1.1.7/filter/subtitler' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT filter_subtitler.lo -MD -MP -MF .deps/filter_subtitler.Tpo -c -o filter_subtitler.lo filter_subtitler.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT color_processor.lo -MD -MP -MF .deps/color_processor.Tpo -c -o color_processor.lo color_processor.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT external_programs.lo -MD -MP -MF .deps/external_programs.Tpo -c -o external_programs.lo external_programs.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT frame_list.lo -MD -MP -MF .deps/frame_list.Tpo -c -o frame_list.lo frame_list.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT load_font.lo -MD -MP -MF .deps/load_font.Tpo -c -o load_font.lo load_font.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT load_pictures.lo -MD -MP -MF .deps/load_pictures.Tpo -c -o load_pictures.lo load_pictures.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT load_ppml_file.lo -MD -MP -MF .deps/load_ppml_file.Tpo -c -o load_ppml_file.lo load_ppml_file.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT object_list.lo -MD -MP -MF .deps/object_list.Tpo -c -o object_list.lo object_list.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT filter_subtitler.lo -MD -MP -MF .deps/filter_subtitler.Tpo -c filter_subtitler.c -fPIC -DPIC -o .libs/filter_subtitler.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT frame_list.lo -MD -MP -MF .deps/frame_list.Tpo -c frame_list.c -fPIC -DPIC -o .libs/frame_list.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT object_list.lo -MD -MP -MF .deps/object_list.Tpo -c object_list.c -fPIC -DPIC -o .libs/object_list.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT color_processor.lo -MD -MP -MF .deps/color_processor.Tpo -c color_processor.c -fPIC -DPIC -o .libs/color_processor.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT external_programs.lo -MD -MP -MF .deps/external_programs.Tpo -c external_programs.c -fPIC -DPIC -o .libs/external_programs.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT load_ppml_file.lo -MD -MP -MF .deps/load_ppml_file.Tpo -c load_ppml_file.c -fPIC -DPIC -o .libs/load_ppml_file.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT load_pictures.lo -MD -MP -MF .deps/load_pictures.Tpo -c load_pictures.c -fPIC -DPIC -o .libs/load_pictures.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT load_font.lo -MD -MP -MF .deps/load_font.Tpo -c load_font.c -fPIC -DPIC -o .libs/load_font.o filter_subtitler.c: In function ‘tc_filter’: filter_subtitler.c:553:22: warning: pointer targets in assignment from ‘char *’ to ‘uint8_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 553 | opfm = frame_memory1; | ^ filter_subtitler.c:555:25: warning: pointer targets in assignment from ‘char *’ to ‘uint8_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 555 | opfmend = frame_memory1 + (pfl->v_height * pfl->v_width * 3); | ^ filter_subtitler.c:114:58: warning: variable ‘opline_end’ set but not used [-Wunused-but-set-variable] 114 | static uint8_t *pline_start, *pline_end, *opline_start, *opline_end; | ^~~~~~~~~~ filter_subtitler.c:114:43: warning: variable ‘opline_start’ set but not used [-Wunused-but-set-variable] 114 | static uint8_t *pline_start, *pline_end, *opline_start, *opline_end; | ^~~~~~~~~~~~ filter_subtitler.c:114:31: warning: variable ‘pline_end’ set but not used [-Wunused-but-set-variable] 114 | static uint8_t *pline_start, *pline_end, *opline_start, *opline_end; | ^~~~~~~~~ filter_subtitler.c:114:17: warning: variable ‘pline_start’ set but not used [-Wunused-but-set-variable] 114 | static uint8_t *pline_start, *pline_end, *opline_start, *opline_end; | ^~~~~~~~~~~ filter_subtitler.c: In function ‘draw_alpha’: filter_subtitler.c:1136:21: warning: variable ‘ub’ set but not used [-Wunused-but-set-variable] 1136 | uint8_t uy, ur, ug, ub, ua, uc; | ^~ filter_subtitler.c:1136:17: warning: variable ‘ug’ set but not used [-Wunused-but-set-variable] 1136 | uint8_t uy, ur, ug, ub, ua, uc; | ^~ filter_subtitler.c:1136:13: warning: variable ‘ur’ set but not used [-Wunused-but-set-variable] 1136 | uint8_t uy, ur, ug, ub, ua, uc; | ^~ load_font.c: In function ‘read_font_desc’: load_font.c:303:14: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 303 | while( fgets(sor, 1020, f) ) | ^~~ | | | unsigned char * In file included from /usr/include/stdio.h:866, from ../../src/transcode.h:39, from subtitler.h:30, from load_font.c:21: /usr/include/bits/stdio2.h:262:25: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 262 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ load_font.c:359:35: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 359 | int len = strlen(p[0]); | ~^~~ | | | unsigned char * In file included from ../../src/transcode.h:41, from subtitler.h:30, from load_font.c:21: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ load_font.c:362:43: warning: pointer targets in passing argument 2 of ‘strlcpy’ differ in signedness [-Wpointer-sign] 362 | strlcpy(section, p[0], sizeof(section)); | ~^~~ | | | unsigned char * In file included from ../../libtc/tcframes.h:34, from ../../src/framebuffer.h:32, from ../../src/transcode.h:56, from subtitler.h:30, from load_font.c:21: ../../libtc/libtc.h:260:39: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 260 | size_t strlcpy(char *dst, const char *src, size_t size); | ~~~~~~~~~~~~^~~ load_font.c:384:50: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 384 | desc->fpath = tc_strdup(p[0]); | ~^~~ | | | unsigned char * ../../libtc/libtc.h:482:55: note: in definition of macro ‘tc_strdup’ 482 | _tc_strndup(__FILE__, __LINE__, s, strlen(s)) | ^ In file included from ../../src/transcode.h:41, from subtitler.h:30, from load_font.c:21: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from ../../libtc/tcframes.h:34, from ../../src/framebuffer.h:32, from ../../src/transcode.h:56, from subtitler.h:30, from load_font.c:21: load_font.c:384:50: warning: pointer targets in passing argument 3 of ‘_tc_strndup’ differ in signedness [-Wpointer-sign] 384 | desc->fpath = tc_strdup(p[0]); | ~^~~ | | | unsigned char * ../../libtc/libtc.h:482:45: note: in definition of macro ‘tc_strdup’ 482 | _tc_strndup(__FILE__, __LINE__, s, strlen(s)) | ^ ../../libtc/libtc.h:508:59: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 508 | char *_tc_strndup(const char *file, int line, const char *s, size_t n); | ~~~~~~~~~~~~^ load_font.c:390:40: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 390 | if(pdb == 2 && strcmp(p[0], "alpha") == 0) | ~^~~ | | | unsigned char * In file included from ../../src/transcode.h:41, from subtitler.h:30, from load_font.c:21: /usr/include/string.h:140:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ load_font.c:393:74: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 393 | if (! (cp = malloc(strlen(desc->fpath) + strlen(p[1]) + 2))) | ~^~~ | | | unsigned char * In file included from ../../src/transcode.h:41, from subtitler.h:30, from load_font.c:21: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from ../../libtc/tcframes.h:34, from ../../src/framebuffer.h:32, from ../../src/transcode.h:56, from subtitler.h:30, from load_font.c:21: load_font.c:397:71: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 397 | tc_snprintf(cp, strlen(desc->fpath) + strlen(p[1]) + 2, "%s/%s", | ~^~~ | | | unsigned char * ../../libtc/libtc.h:339:43: note: in definition of macro ‘tc_snprintf’ 339 | _tc_snprintf(__FILE__, __LINE__, buf, limit, format , ## args) | ^~~~~ In file included from ../../src/transcode.h:41, from subtitler.h:30, from load_font.c:21: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ load_font.c:408:40: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 408 | if(pdb == 2 && strcmp(p[0], "bitmap") == 0) | ~^~~ | | | unsigned char * In file included from ../../src/transcode.h:41, from subtitler.h:30, from load_font.c:21: /usr/include/string.h:140:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ load_font.c:411:73: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 411 | if (!(cp = malloc(strlen(desc->fpath) + strlen(p[1]) + 2))) | ~^~~ | | | unsigned char * In file included from ../../src/transcode.h:41, from subtitler.h:30, from load_font.c:21: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from ../../libtc/tcframes.h:34, from ../../src/framebuffer.h:32, from ../../src/transcode.h:56, from subtitler.h:30, from load_font.c:21: load_font.c:415:71: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 415 | tc_snprintf(cp, strlen(desc->fpath) + strlen(p[1]) + 2, "%s/%s", | ~^~~ | | | unsigned char * ../../libtc/libtc.h:339:43: note: in definition of macro ‘tc_snprintf’ 339 | _tc_snprintf(__FILE__, __LINE__, buf, limit, format , ## args) | ^~~~~ In file included from ../../src/transcode.h:41, from subtitler.h:30, from load_font.c:21: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ load_font.c:429:40: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 429 | if(pdb == 2 && strcmp(p[0], "name") == 0) | ~^~~ | | | unsigned char * In file included from ../../src/transcode.h:41, from subtitler.h:30, from load_font.c:21: /usr/include/string.h:140:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from ../../libtc/tcframes.h:34, from ../../src/framebuffer.h:32, from ../../src/transcode.h:56, from subtitler.h:30, from load_font.c:21: load_font.c:431:49: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 431 | desc->name = tc_strdup(p[1]); | ~^~~ | | | unsigned char * ../../libtc/libtc.h:482:55: note: in definition of macro ‘tc_strdup’ 482 | _tc_strndup(__FILE__, __LINE__, s, strlen(s)) | ^ In file included from ../../src/transcode.h:41, from subtitler.h:30, from load_font.c:21: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from ../../libtc/tcframes.h:34, from ../../src/framebuffer.h:32, from ../../src/transcode.h:56, from subtitler.h:30, from load_font.c:21: load_font.c:431:49: warning: pointer targets in passing argument 3 of ‘_tc_strndup’ differ in signedness [-Wpointer-sign] 431 | desc->name = tc_strdup(p[1]); | ~^~~ | | | unsigned char * ../../libtc/libtc.h:482:45: note: in definition of macro ‘tc_strdup’ 482 | _tc_strndup(__FILE__, __LINE__, s, strlen(s)) | ^ ../../libtc/libtc.h:508:59: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 508 | char *_tc_strndup(const char *file, int line, const char *s, size_t n); | ~~~~~~~~~~~~^ load_font.c:434:40: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 434 | if(pdb == 2 && strcmp(p[0], "descversion") == 0) | ~^~~ | | | unsigned char * In file included from ../../src/transcode.h:41, from subtitler.h:30, from load_font.c:21: /usr/include/string.h:140:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ load_font.c:436:41: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] 436 | version = atoi(p[1]); | ~^~~ | | | unsigned char * In file included from /usr/include/features.h:473, from /usr/include/sys/stat.h:25, from ../../src/transcode.h:31, from subtitler.h:30, from load_font.c:21: /usr/include/stdlib.h:361:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ load_font.c:439:40: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 439 | if(pdb == 2 && strcmp(p[0], "spacewidth") == 0) | ~^~~ | | | unsigned char * In file included from ../../src/transcode.h:41, from subtitler.h:30, from load_font.c:21: /usr/include/string.h:140:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ load_font.c:441:50: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] 441 | desc->spacewidth = atoi(p[1]); | ~^~~ | | | unsigned char * In file included from /usr/include/features.h:473, from /usr/include/sys/stat.h:25, from ../../src/transcode.h:31, from subtitler.h:30, from load_font.c:21: /usr/include/stdlib.h:361:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ load_font.c:444:40: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 444 | if(pdb == 2 && strcmp(p[0], "charspace") == 0) | ~^~~ | | | unsigned char * In file included from ../../src/transcode.h:41, from subtitler.h:30, from load_font.c:21: /usr/include/string.h:140:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ load_font.c:446:49: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] 446 | desc->charspace = atoi(p[1]); | ~^~~ | | | unsigned char * In file included from /usr/include/features.h:473, from /usr/include/sys/stat.h:25, from ../../src/transcode.h:31, from subtitler.h:30, from load_font.c:21: /usr/include/stdlib.h:361:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ load_font.c:449:40: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 449 | if(pdb == 2 && strcmp(p[0], "height") == 0) | ~^~~ | | | unsigned char * In file included from ../../src/transcode.h:41, from subtitler.h:30, from load_font.c:21: /usr/include/string.h:140:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ load_font.c:451:46: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] 451 | desc->height = atoi(p[1]); | ~^~~ | | | unsigned char * In file included from /usr/include/features.h:473, from /usr/include/sys/stat.h:25, from ../../src/transcode.h:31, from subtitler.h:30, from load_font.c:21: /usr/include/stdlib.h:361:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ load_font.c:460:43: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] 460 | int start = atoi(p[1]); | ~^~~ | | | unsigned char * In file included from /usr/include/features.h:473, from /usr/include/sys/stat.h:25, from ../../src/transcode.h:31, from subtitler.h:30, from load_font.c:21: /usr/include/stdlib.h:361:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ load_font.c:461:41: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] 461 | int end = atoi(p[2]); | ~^~~ | | | unsigned char * In file included from /usr/include/features.h:473, from /usr/include/sys/stat.h:25, from ../../src/transcode.h:31, from subtitler.h:30, from load_font.c:21: /usr/include/stdlib.h:361:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ load_font.c:463:41: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 463 | else if(strlen(p[0]) != 1) chr = strtol(p[0], NULL, 0); | ~^~~ | | | unsigned char * In file included from ../../src/transcode.h:41, from subtitler.h:30, from load_font.c:21: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ load_font.c:463:66: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] 463 | else if(strlen(p[0]) != 1) chr = strtol(p[0], NULL, 0); | ~^~~ | | | unsigned char * In file included from ../../src/transcode.h:40, from subtitler.h:30, from load_font.c:21: /usr/include/stdlib.h:176:48: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ load_font.c:255:5: warning: variable ‘version’ set but not used [-Wunused-but-set-variable] 255 | int version = 0; | ^~~~~~~ load_font.c: In function ‘outline’: load_font.c:1142:30: warning: pointer targets in initialization of ‘unsigned int *’ from ‘int *’ differ in signedness [-Wpointer-sign] 1142 | unsigned *mrow = m + r; | ^ load_font.c: In function ‘alpha’: load_font.c:1336:50: warning: pointer targets in passing argument 5 of ‘outline’ differ in signedness [-Wpointer-sign] 1336 | outline(bbuffer, abuffer, width, height, om, o_r, o_w); // solid outline | ^~ | | | unsigned int * load_font.c:1133:6: note: expected ‘int *’ but argument is of type ‘unsigned int *’ 1133 | int *m, int r, int mwidth) | ~~~~~^ load_font.c:1340:39: warning: pointer targets in passing argument 5 of ‘blur’ differ in signedness [-Wpointer-sign] 1340 | blur(abuffer, bbuffer, width, height, g, g_r, g_w, volume); | ^ | | | unsigned int * load_font.c:1207:6: note: expected ‘int *’ but argument is of type ‘unsigned int *’ 1207 | int *m,\ | ~~~~~^ load_font.c: In function ‘load_raw’: load_font.c:228:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 228 | fread(raw->pal, 3, raw->c, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ load_font.c:237:1: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 237 | fread(raw->bmp, raw->h * raw->w * bpp, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/external_programs.Tpo .deps/external_programs.Plo mv -f .deps/color_processor.Tpo .deps/color_processor.Plo /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c -o parser.lo parser.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT text_processing.lo -MD -MP -MF .deps/text_processing.Tpo -c -o text_processing.lo text_processing.c mv -f .deps/frame_list.Tpo .deps/frame_list.Plo /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT x11.lo -MD -MP -MF .deps/x11.Tpo -c -o x11.lo x11.c mv -f .deps/load_ppml_file.Tpo .deps/load_ppml_file.Plo mv -f .deps/load_pictures.Tpo .deps/load_pictures.Plo mv -f .deps/object_list.Tpo .deps/object_list.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT text_processing.lo -MD -MP -MF .deps/text_processing.Tpo -c text_processing.c -fPIC -DPIC -o .libs/text_processing.o mv -f .deps/filter_subtitler.Tpo .deps/filter_subtitler.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c parser.c -fPIC -DPIC -o .libs/parser.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT x11.lo -MD -MP -MF .deps/x11.Tpo -c x11.c -fPIC -DPIC -o .libs/x11.o mv -f .deps/load_font.Tpo .deps/load_font.Plo parser.c: In function ‘parse_frame_entry’: parser.c:190:36: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses] 190 | if(! po -> status & OBJECT_STATUS_HAVE_Z_DEST) | ^~~~~~~~~~~~~~ x11.c: In function ‘getbuf’: x11.c:108:20: warning: pointer targets in returning ‘char *’ from a function with return type ‘unsigned char *’ differ in signedness [-Wpointer-sign] 108 | return grab_ximage -> data; | ~~~~~~~~~~~~^~~~~~~ mv -f .deps/text_processing.Tpo .deps/text_processing.Plo mv -f .deps/parser.Tpo .deps/parser.Plo mv -f .deps/x11.Tpo .deps/x11.Plo /bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o filter_subtitler.la -rpath /usr/lib/transcode filter_subtitler.lo color_processor.lo external_programs.lo frame_list.lo load_font.lo load_pictures.lo load_ppml_file.lo object_list.lo parser.lo text_processing.lo x11.lo -lSM -lICE -lXext -lX11 -lXpm -lXaw -lXt -lm -lfreetype -lm -lz -ldl libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/filter_subtitler.o .libs/color_processor.o .libs/external_programs.o .libs/frame_list.o .libs/load_font.o .libs/load_pictures.o .libs/load_ppml_file.o .libs/object_list.o .libs/parser.o .libs/text_processing.o .libs/x11.o -lSM -lICE -lXext -lX11 -lXpm -lXaw -lXt -lfreetype -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,filter_subtitler.so -o .libs/filter_subtitler.so libtool: link: ( cd ".libs" && rm -f "filter_subtitler.la" && ln -s "../filter_subtitler.la" "filter_subtitler.la" ) make[3]: Leaving directory '/build/transcode/src/transcode-1.1.7/filter/subtitler' Making all in yuvdenoise make[3]: Entering directory '/build/transcode/src/transcode-1.1.7/filter/yuvdenoise' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT filter_yuvdenoise.lo -MD -MP -MF .deps/filter_yuvdenoise.Tpo -c -o filter_yuvdenoise.lo filter_yuvdenoise.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT deinterlace.lo -MD -MP -MF .deps/deinterlace.Tpo -c -o deinterlace.lo deinterlace.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT denoise.lo -MD -MP -MF .deps/denoise.Tpo -c -o denoise.lo denoise.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT motion.lo -MD -MP -MF .deps/motion.Tpo -c -o motion.lo motion.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT filter_yuvmedian.lo -MD -MP -MF .deps/filter_yuvmedian.Tpo -c -o filter_yuvmedian.lo filter_yuvmedian.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT deinterlace.lo -MD -MP -MF .deps/deinterlace.Tpo -c deinterlace.c -fPIC -DPIC -o .libs/deinterlace.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT denoise.lo -MD -MP -MF .deps/denoise.Tpo -c denoise.c -fPIC -DPIC -o .libs/denoise.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT motion.lo -MD -MP -MF .deps/motion.Tpo -c motion.c -fPIC -DPIC -o .libs/motion.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT filter_yuvmedian.lo -MD -MP -MF .deps/filter_yuvmedian.Tpo -c filter_yuvmedian.c -fPIC -DPIC -o .libs/filter_yuvmedian.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -I../.. -I../../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT filter_yuvdenoise.lo -MD -MP -MF .deps/filter_yuvdenoise.Tpo -c filter_yuvdenoise.c -fPIC -DPIC -o .libs/filter_yuvdenoise.o deinterlace.c: In function ‘deinterlace_mmx’: deinterlace.c:139:12: warning: variable ‘ref3’ set but not used [-Wunused-but-set-variable] 139 | uint8_t *ref3; | ^~~~ deinterlace.c:138:12: warning: variable ‘ref2’ set but not used [-Wunused-but-set-variable] 138 | uint8_t *ref2; | ^~~~ deinterlace.c:137:12: warning: variable ‘ref1’ set but not used [-Wunused-but-set-variable] 137 | uint8_t *ref1; | ^~~~ denoise.c: In function ‘correct_frame2’: denoise.c:388:13: warning: variable ‘dif’ set but not used [-Wunused-but-set-variable] 388 | uint8_t * dif; | ^~~ mv -f .deps/deinterlace.Tpo .deps/deinterlace.Plo mv -f .deps/motion.Tpo .deps/motion.Plo mv -f .deps/filter_yuvmedian.Tpo .deps/filter_yuvmedian.Plo /bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o filter_yuvmedian.la -rpath /usr/lib/transcode filter_yuvmedian.lo -lm -lz -ldl mv -f .deps/filter_yuvdenoise.Tpo .deps/filter_yuvdenoise.Plo mv -f .deps/denoise.Tpo .deps/denoise.Plo /bin/sh ../../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -module -avoid-version -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o filter_yuvdenoise.la -rpath /usr/lib/transcode filter_yuvdenoise.lo deinterlace.lo denoise.lo motion.lo ../../aclib/libac.la -lm -lz -ldl libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/filter_yuvmedian.o -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,filter_yuvmedian.so -o .libs/filter_yuvmedian.so libtool: link: gcc -Wl,-O1,--as-needed -shared -fPIC -DPIC .libs/filter_yuvdenoise.o .libs/deinterlace.o .libs/denoise.o .libs/motion.o -Wl,--whole-archive ../../aclib/.libs/libac.a -Wl,--no-whole-archive -lm -lz -ldl -march=rv64gc -mabi=lp64d -O2 -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,filter_yuvdenoise.so -o .libs/filter_yuvdenoise.so libtool: link: ( cd ".libs" && rm -f "filter_yuvmedian.la" && ln -s "../filter_yuvmedian.la" "filter_yuvmedian.la" ) filter_yuvdenoise.c: Assembler messages: filter_yuvdenoise.c:366: Error: unrecognized opcode `emms' filter_yuvdenoise.c:352: Error: unrecognized opcode `emms' make[4]: *** [/tmp/ccMYgGkS.mk:2: /tmp/ccD5R2MU.ltrans0.ltrans.o] Error 1 lto-wrapper: fatal error: make returned 2 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status make[3]: *** [Makefile:543: filter_yuvdenoise.la] Error 1 make[3]: Leaving directory '/build/transcode/src/transcode-1.1.7/filter/yuvdenoise' make[2]: *** [Makefile:1439: all-recursive] Error 1 make[2]: Leaving directory '/build/transcode/src/transcode-1.1.7/filter' make[1]: *** [Makefile:589: all-recursive] Error 1 make[1]: Leaving directory '/build/transcode/src/transcode-1.1.7' make: *** [Makefile:498: all] Error 2 ==> ERROR: A failure occurred in build().  Aborting...