* Package: media-sound/ogmtools-1.5-r2 * Repository: gentoo * Maintainer: sound@gentoo.org * USE: abi_x86_64 amd64 dvd elibc_glibc kernel_linux userland_GNU * FEATURES: ccache compressdebug preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking ogmtools-1.5.tar.bz2 to /var/tmp/portage/media-sound/ogmtools-1.5-r2/work >>> Source unpacked in /var/tmp/portage/media-sound/ogmtools-1.5-r2/work >>> Preparing source in /var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5 ... * Applying ogmtools-1.5-comments.patch ... [ ok ] * Applying ogmtools-1.5-endian-fix.patch ... [ ok ] * Applying ogmtools-1.5-vorbis_verbosity.patch ... [ ok ] * Applying ogmtools-1.5-summary_length.patch ... [ ok ] * Applying ogmtools-1.5-fix-autotools.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5' ... * Running 'aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running elibtoolize in: ogmtools-1.5/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5 ... * econf: updating ogmtools-1.5/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ogmtools-1.5/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/ogmtools-1.5-r2 --htmldir=/usr/share/doc/ogmtools-1.5-r2/html --libdir=/usr/lib64 --with-dvdread checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar checking for Ogg... yes checking for Vorbis... yes checking for DVDOpen in -ldvdread... yes checking for /usr/include/dvdread/dvd_reader.h... yes checking for fseeko... yes checking for ANSI C header files... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating avilib/Makefile config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5 ... make -j9 -l7 Making all in avilib make[1]: Entering directory '/var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5/avilib' x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -DLINUX -Wall -O2 -pipe -pipe -march=ivybridge -mtune=ivybridge -maes -O3 -fgcse-sm -fgcse-las -fgraphite -fgraphite-identity -floop-nest-optimize -ftree-vectorize -fvariable-expansion-in-unroller -fstack-protector-strong -fno-lto -Wall -Wno-sign-compare -c -o avilib.o avilib.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -DLINUX -Wall -O2 -pipe -pipe -march=ivybridge -mtune=ivybridge -maes -O3 -fgcse-sm -fgcse-las -fgraphite -fgraphite-identity -floop-nest-optimize -ftree-vectorize -fvariable-expansion-in-unroller -fstack-protector-strong -fno-lto -Wall -Wno-sign-compare -c -o avidump.o avidump.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -DLINUX -Wall -O2 -pipe -pipe -march=ivybridge -mtune=ivybridge -maes -O3 -fgcse-sm -fgcse-las -fgraphite -fgraphite-identity -floop-nest-optimize -ftree-vectorize -fvariable-expansion-in-unroller -fstack-protector-strong -fno-lto -Wall -Wno-sign-compare -c -o avimisc.o avimisc.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -DLINUX -Wall -O2 -pipe -pipe -march=ivybridge -mtune=ivybridge -maes -O3 -fgcse-sm -fgcse-las -fgraphite -fgraphite-identity -floop-nest-optimize -ftree-vectorize -fvariable-expansion-in-unroller -fstack-protector-strong -fno-lto -Wall -Wno-sign-compare -c -o xio.o xio.c avilib.c: In function ‘avi_ixnn_entry’: avilib.c:213:30: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness [-Wpointer-sign] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:245:5: note: in expansion of macro ‘OUTD’ 245 | OUTD(ch->nEntriesInUse); | ^~~~ avilib.c:115:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:213:30: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness [-Wpointer-sign] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:247:5: note: in expansion of macro ‘OUTD’ 247 | OUTD(ch->qwBaseOffset&0xffffffff); | ^~~~ avilib.c:115:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:213:30: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness [-Wpointer-sign] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:248:5: note: in expansion of macro ‘OUTD’ 248 | OUTD((ch->qwBaseOffset>>32)&0xffffffff); | ^~~~ avilib.c:115:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:213:30: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness [-Wpointer-sign] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:249:5: note: in expansion of macro ‘OUTD’ 249 | OUTD(ch->dwReserved3); | ^~~~ avilib.c:115:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:213:30: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness [-Wpointer-sign] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:252:9: note: in expansion of macro ‘OUTD’ 252 | OUTD(ch->aIndex[k].dwOffset); | ^~~~ avilib.c:115:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:213:30: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness [-Wpointer-sign] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:253:9: note: in expansion of macro ‘OUTD’ 253 | OUTD(ch->aIndex[k].dwSize); | ^~~~ avilib.c:115:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:256:27: warning: pointer targets in passing argument 2 of ‘avi_add_chunk’ differ in signedness [-Wpointer-sign] 256 | avi_add_chunk (AVI, ch->fcc, ix00, max); | ~~^~~~~ | | | char * avilib.c:181:53: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 181 | static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~ avilib.c:256:34: warning: pointer targets in passing argument 3 of ‘avi_add_chunk’ differ in signedness [-Wpointer-sign] 256 | avi_add_chunk (AVI, ch->fcc, ix00, max); | ^~~~ | | | char * avilib.c:181:73: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 181 | static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~~ avilib.c: In function ‘avi_add_odml_index_entry’: avilib.c:372:26: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 372 | int audio = (strchr (tag, 'w')?1:0); | ^~~ | | | unsigned char * In file included from avilib.h:38, from avilib.c:30: /usr/include/string.h:230:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ avilib.c:382:43: warning: pointer targets in passing argument 2 of ‘avi_init_super_index’ differ in signedness [-Wpointer-sign] 382 | if (avi_init_super_index(AVI, "ix00", &AVI->video_superindex) < 0) return -1; | ^~~~~~ | | | char * avilib.c:268:60: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 268 | static int avi_init_super_index(avi_t *AVI, unsigned char *idxtag, avisuperindex_chunk **si) | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:386:41: warning: pointer targets in passing argument 2 of ‘avi_add_std_index’ differ in signedness [-Wpointer-sign] 386 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * avilib.c:312:57: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 312 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:386:49: warning: pointer targets in passing argument 3 of ‘avi_add_std_index’ differ in signedness [-Wpointer-sign] 386 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * avilib.c:312:80: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 312 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:400:43: warning: pointer targets in passing argument 2 of ‘avi_init_super_index’ differ in signedness [-Wpointer-sign] 400 | if (avi_init_super_index(AVI, fcc, &AVI->track[AVI->aptr].audio_superindex) < 0) return -1; | ^~~ | | | char * avilib.c:268:60: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 268 | static int avi_init_super_index(avi_t *AVI, unsigned char *idxtag, avisuperindex_chunk **si) | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:406:41: warning: pointer targets in passing argument 2 of ‘avi_add_std_index’ differ in signedness [-Wpointer-sign] 406 | if (avi_add_std_index (AVI, fcc, tag, AVI->track[AVI->aptr].audio_superindex->stdindex[ | ^~~ | | | char * avilib.c:312:57: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 312 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:447:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 447 | fprintf (stderr, "[avilib dump] cur_std_idx=%d NR_IXNN_CHUNKS=%d" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | "POS=%lld towrite=%lld\n", 449 | cur_std_idx,NR_IXNN_CHUNKS, AVI->pos, towrite); | ~~~~~~~~ | | | int64_t {aka long int} avilib.c:448:29: note: format string is defined here 448 | "POS=%lld towrite=%lld\n", | ~~~^ | | | long long int | %ld avilib.c:447:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 6 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 447 | fprintf (stderr, "[avilib dump] cur_std_idx=%d NR_IXNN_CHUNKS=%d" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | "POS=%lld towrite=%lld\n", 449 | cur_std_idx,NR_IXNN_CHUNKS, AVI->pos, towrite); | ~~~~~~~ | | | int64_t {aka long int} avilib.c:448:42: note: format string is defined here 448 | "POS=%lld towrite=%lld\n", | ~~~^ | | | long long int | %ld avilib.c:453:37: warning: pointer targets in passing argument 2 of ‘avi_add_std_index’ differ in signedness [-Wpointer-sign] 453 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * avilib.c:312:57: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 312 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:453:45: warning: pointer targets in passing argument 3 of ‘avi_add_std_index’ differ in signedness [-Wpointer-sign] 453 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * avilib.c:312:80: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 312 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:466:41: warning: pointer targets in passing argument 2 of ‘avi_add_std_index’ differ in signedness [-Wpointer-sign] 466 | if (avi_add_std_index (AVI, fcc, aud, AVI->track[audtr].audio_superindex->stdindex[ | ^~~ | | | char * avilib.c:312:57: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 312 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:466:46: warning: pointer targets in passing argument 3 of ‘avi_add_std_index’ differ in signedness [-Wpointer-sign] 466 | if (avi_add_std_index (AVI, fcc, aud, AVI->track[audtr].audio_superindex->stdindex[ | ^~~ | | | char * avilib.c:312:80: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 312 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:503:57: warning: pointer targets in passing argument 3 of ‘avi_add_chunk’ differ in signedness [-Wpointer-sign] 503 | avi_add_chunk(AVI, (unsigned char *)"RIFF", "AVIXLIST\0\0\0\0movi", 16); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * avilib.c:181:73: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 181 | static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~~ avilib.c: In function ‘avi_update_header’: avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:764:4: note: in expansion of macro ‘OUT4CC’ 764 | OUT4CC ("RIFF"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:764:4: note: in expansion of macro ‘OUT4CC’ 764 | OUT4CC ("RIFF"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:765:4: note: in expansion of macro ‘OUTLONG’ 765 | OUTLONG(movi_len); // assume max size | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:765:4: note: in expansion of macro ‘OUTLONG’ 765 | OUTLONG(movi_len); // assume max size | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:766:4: note: in expansion of macro ‘OUT4CC’ 766 | OUT4CC ("AVI "); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:766:4: note: in expansion of macro ‘OUT4CC’ 766 | OUT4CC ("AVI "); | ^~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:770:4: note: in expansion of macro ‘OUT4CC’ 770 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:770:4: note: in expansion of macro ‘OUT4CC’ 770 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:771:4: note: in expansion of macro ‘OUTLONG’ 771 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:771:4: note: in expansion of macro ‘OUTLONG’ 771 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:773:4: note: in expansion of macro ‘OUT4CC’ 773 | OUT4CC ("hdrl"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:773:4: note: in expansion of macro ‘OUT4CC’ 773 | OUT4CC ("hdrl"); | ^~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:786:4: note: in expansion of macro ‘OUT4CC’ 786 | OUT4CC ("avih"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:786:4: note: in expansion of macro ‘OUT4CC’ 786 | OUT4CC ("avih"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:787:4: note: in expansion of macro ‘OUTLONG’ 787 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:787:4: note: in expansion of macro ‘OUTLONG’ 787 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:788:4: note: in expansion of macro ‘OUTLONG’ 788 | OUTLONG(ms_per_frame); /* Microseconds per frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:788:4: note: in expansion of macro ‘OUTLONG’ 788 | OUTLONG(ms_per_frame); /* Microseconds per frame */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:791:4: note: in expansion of macro ‘OUTLONG’ 791 | OUTLONG(0); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:791:4: note: in expansion of macro ‘OUTLONG’ 791 | OUTLONG(0); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:792:4: note: in expansion of macro ‘OUTLONG’ 792 | OUTLONG(0); /* PaddingGranularity (whatever that might be) */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:792:4: note: in expansion of macro ‘OUTLONG’ 792 | OUTLONG(0); /* PaddingGranularity (whatever that might be) */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:797:4: note: in expansion of macro ‘OUTLONG’ 797 | OUTLONG(flag); /* Flags */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:797:4: note: in expansion of macro ‘OUTLONG’ 797 | OUTLONG(flag); /* Flags */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:798:4: note: in expansion of macro ‘OUTLONG’ 798 | OUTLONG(0); // no frames yet | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:798:4: note: in expansion of macro ‘OUTLONG’ 798 | OUTLONG(0); // no frames yet | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:799:4: note: in expansion of macro ‘OUTLONG’ 799 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:799:4: note: in expansion of macro ‘OUTLONG’ 799 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:801:4: note: in expansion of macro ‘OUTLONG’ 801 | OUTLONG(AVI->anum+1); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:801:4: note: in expansion of macro ‘OUTLONG’ 801 | OUTLONG(AVI->anum+1); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:803:4: note: in expansion of macro ‘OUTLONG’ 803 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:803:4: note: in expansion of macro ‘OUTLONG’ 803 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:804:4: note: in expansion of macro ‘OUTLONG’ 804 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:804:4: note: in expansion of macro ‘OUTLONG’ 804 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:805:4: note: in expansion of macro ‘OUTLONG’ 805 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:805:4: note: in expansion of macro ‘OUTLONG’ 805 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:807:4: note: in expansion of macro ‘OUTLONG’ 807 | OUTLONG(0); /* TimeScale: Unit used to measure time */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:807:4: note: in expansion of macro ‘OUTLONG’ 807 | OUTLONG(0); /* TimeScale: Unit used to measure time */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:808:4: note: in expansion of macro ‘OUTLONG’ 808 | OUTLONG(0); /* DataRate: Data rate of playback */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:808:4: note: in expansion of macro ‘OUTLONG’ 808 | OUTLONG(0); /* DataRate: Data rate of playback */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:809:4: note: in expansion of macro ‘OUTLONG’ 809 | OUTLONG(0); /* StartTime: Starting time of AVI data */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:809:4: note: in expansion of macro ‘OUTLONG’ 809 | OUTLONG(0); /* StartTime: Starting time of AVI data */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:810:4: note: in expansion of macro ‘OUTLONG’ 810 | OUTLONG(0); /* DataLength: Size of AVI data chunk */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:810:4: note: in expansion of macro ‘OUTLONG’ 810 | OUTLONG(0); /* DataLength: Size of AVI data chunk */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:815:4: note: in expansion of macro ‘OUT4CC’ 815 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:815:4: note: in expansion of macro ‘OUT4CC’ 815 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:816:4: note: in expansion of macro ‘OUTLONG’ 816 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:816:4: note: in expansion of macro ‘OUTLONG’ 816 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:818:4: note: in expansion of macro ‘OUT4CC’ 818 | OUT4CC ("strl"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:818:4: note: in expansion of macro ‘OUT4CC’ 818 | OUT4CC ("strl"); | ^~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:822:4: note: in expansion of macro ‘OUT4CC’ 822 | OUT4CC ("strh"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:822:4: note: in expansion of macro ‘OUT4CC’ 822 | OUT4CC ("strh"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:823:4: note: in expansion of macro ‘OUTLONG’ 823 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:823:4: note: in expansion of macro ‘OUTLONG’ 823 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:824:4: note: in expansion of macro ‘OUT4CC’ 824 | OUT4CC ("vids"); /* Type */ | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:824:4: note: in expansion of macro ‘OUT4CC’ 824 | OUT4CC ("vids"); /* Type */ | ^~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:825:4: note: in expansion of macro ‘OUT4CC’ 825 | OUT4CC (AVI->compressor); /* Handler */ | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:825:4: note: in expansion of macro ‘OUT4CC’ 825 | OUT4CC (AVI->compressor); /* Handler */ | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:826:4: note: in expansion of macro ‘OUTLONG’ 826 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:826:4: note: in expansion of macro ‘OUTLONG’ 826 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:827:4: note: in expansion of macro ‘OUTLONG’ 827 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:827:4: note: in expansion of macro ‘OUTLONG’ 827 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:828:4: note: in expansion of macro ‘OUTLONG’ 828 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:828:4: note: in expansion of macro ‘OUTLONG’ 828 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:829:4: note: in expansion of macro ‘OUTLONG’ 829 | OUTLONG(FRAME_RATE_SCALE); /* Scale */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:829:4: note: in expansion of macro ‘OUTLONG’ 829 | OUTLONG(FRAME_RATE_SCALE); /* Scale */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:830:4: note: in expansion of macro ‘OUTLONG’ 830 | OUTLONG(frate); /* Rate: Rate/Scale == samples/second */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:830:4: note: in expansion of macro ‘OUTLONG’ 830 | OUTLONG(frate); /* Rate: Rate/Scale == samples/second */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:831:4: note: in expansion of macro ‘OUTLONG’ 831 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:831:4: note: in expansion of macro ‘OUTLONG’ 831 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:832:4: note: in expansion of macro ‘OUTLONG’ 832 | OUTLONG(0); // no frames yet | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:832:4: note: in expansion of macro ‘OUTLONG’ 832 | OUTLONG(0); // no frames yet | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:833:4: note: in expansion of macro ‘OUTLONG’ 833 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:833:4: note: in expansion of macro ‘OUTLONG’ 833 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:834:4: note: in expansion of macro ‘OUTLONG’ 834 | OUTLONG(-1); /* Quality */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:834:4: note: in expansion of macro ‘OUTLONG’ 834 | OUTLONG(-1); /* Quality */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:835:4: note: in expansion of macro ‘OUTLONG’ 835 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:835:4: note: in expansion of macro ‘OUTLONG’ 835 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:836:4: note: in expansion of macro ‘OUTLONG’ 836 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:836:4: note: in expansion of macro ‘OUTLONG’ 836 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:837:4: note: in expansion of macro ‘OUTLONG’ 837 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:837:4: note: in expansion of macro ‘OUTLONG’ 837 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:846:4: note: in expansion of macro ‘OUT4CC’ 846 | OUT4CC ("strf"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:846:4: note: in expansion of macro ‘OUT4CC’ 846 | OUT4CC ("strf"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:847:4: note: in expansion of macro ‘OUTLONG’ 847 | OUTLONG(40 + xd_size_align2);/* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:847:4: note: in expansion of macro ‘OUTLONG’ 847 | OUTLONG(40 + xd_size_align2);/* # of bytes to follow */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:848:4: note: in expansion of macro ‘OUTLONG’ 848 | OUTLONG(40 + xd_size); /* Size */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:848:4: note: in expansion of macro ‘OUTLONG’ 848 | OUTLONG(40 + xd_size); /* Size */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:849:4: note: in expansion of macro ‘OUTLONG’ 849 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:849:4: note: in expansion of macro ‘OUTLONG’ 849 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:850:4: note: in expansion of macro ‘OUTLONG’ 850 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:850:4: note: in expansion of macro ‘OUTLONG’ 850 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:852:4: note: in expansion of macro ‘OUT4CC’ 852 | OUT4CC (AVI->compressor); /* Compression */ | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:852:4: note: in expansion of macro ‘OUT4CC’ 852 | OUT4CC (AVI->compressor); /* Compression */ | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:854:4: note: in expansion of macro ‘OUTLONG’ 854 | OUTLONG(AVI->width*AVI->height*3); /* SizeImage (in bytes?) */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:854:4: note: in expansion of macro ‘OUTLONG’ 854 | OUTLONG(AVI->width*AVI->height*3); /* SizeImage (in bytes?) */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:855:4: note: in expansion of macro ‘OUTLONG’ 855 | OUTLONG(0); /* XPelsPerMeter */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:855:4: note: in expansion of macro ‘OUTLONG’ 855 | OUTLONG(0); /* XPelsPerMeter */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:856:4: note: in expansion of macro ‘OUTLONG’ 856 | OUTLONG(0); /* YPelsPerMeter */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:856:4: note: in expansion of macro ‘OUTLONG’ 856 | OUTLONG(0); /* YPelsPerMeter */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:857:4: note: in expansion of macro ‘OUTLONG’ 857 | OUTLONG(0); /* ClrUsed: Number of colors used */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:857:4: note: in expansion of macro ‘OUTLONG’ 857 | OUTLONG(0); /* ClrUsed: Number of colors used */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:858:4: note: in expansion of macro ‘OUTLONG’ 858 | OUTLONG(0); /* ClrImportant: Number of colors important */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:858:4: note: in expansion of macro ‘OUTLONG’ 858 | OUTLONG(0); /* ClrImportant: Number of colors important */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:879:8: note: in expansion of macro ‘OUT4CC’ 879 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:879:8: note: in expansion of macro ‘OUT4CC’ 879 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:880:8: note: in expansion of macro ‘OUTLONG’ 880 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:880:8: note: in expansion of macro ‘OUTLONG’ 880 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:882:8: note: in expansion of macro ‘OUT4CC’ 882 | OUT4CC ("strl"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:882:8: note: in expansion of macro ‘OUT4CC’ 882 | OUT4CC ("strl"); | ^~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:886:8: note: in expansion of macro ‘OUT4CC’ 886 | OUT4CC ("strh"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:886:8: note: in expansion of macro ‘OUT4CC’ 886 | OUT4CC ("strh"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:887:8: note: in expansion of macro ‘OUTLONG’ 887 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:887:8: note: in expansion of macro ‘OUTLONG’ 887 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:888:8: note: in expansion of macro ‘OUT4CC’ 888 | OUT4CC ("auds"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:888:8: note: in expansion of macro ‘OUT4CC’ 888 | OUT4CC ("auds"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:892:8: note: in expansion of macro ‘OUTLONG’ 892 | OUTLONG(0); /* Format (Optionally) */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:892:8: note: in expansion of macro ‘OUTLONG’ 892 | OUTLONG(0); /* Format (Optionally) */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:895:8: note: in expansion of macro ‘OUTLONG’ 895 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:895:8: note: in expansion of macro ‘OUTLONG’ 895 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:896:8: note: in expansion of macro ‘OUTLONG’ 896 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:896:8: note: in expansion of macro ‘OUTLONG’ 896 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:897:8: note: in expansion of macro ‘OUTLONG’ 897 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:897:8: note: in expansion of macro ‘OUTLONG’ 897 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:900:8: note: in expansion of macro ‘OUTLONG’ 900 | OUTLONG(sampsize/4); /* Scale */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:900:8: note: in expansion of macro ‘OUTLONG’ 900 | OUTLONG(sampsize/4); /* Scale */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:901:8: note: in expansion of macro ‘OUTLONG’ 901 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:901:8: note: in expansion of macro ‘OUTLONG’ 901 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:902:8: note: in expansion of macro ‘OUTLONG’ 902 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:902:8: note: in expansion of macro ‘OUTLONG’ 902 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:903:8: note: in expansion of macro ‘OUTLONG’ 903 | OUTLONG(4*AVI->track[j].audio_bytes/sampsize); /* Length */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:903:8: note: in expansion of macro ‘OUTLONG’ 903 | OUTLONG(4*AVI->track[j].audio_bytes/sampsize); /* Length */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:904:8: note: in expansion of macro ‘OUTLONG’ 904 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:904:8: note: in expansion of macro ‘OUTLONG’ 904 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:905:8: note: in expansion of macro ‘OUTLONG’ 905 | OUTLONG(-1); /* Quality */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:905:8: note: in expansion of macro ‘OUTLONG’ 905 | OUTLONG(-1); /* Quality */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:908:8: note: in expansion of macro ‘OUTLONG’ 908 | OUTLONG(sampsize/4); /* SampleSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:908:8: note: in expansion of macro ‘OUTLONG’ 908 | OUTLONG(sampsize/4); /* SampleSize */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:910:8: note: in expansion of macro ‘OUTLONG’ 910 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:910:8: note: in expansion of macro ‘OUTLONG’ 910 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:911:8: note: in expansion of macro ‘OUTLONG’ 911 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:911:8: note: in expansion of macro ‘OUTLONG’ 911 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:917:8: note: in expansion of macro ‘OUT4CC’ 917 | OUT4CC ("strf"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:917:8: note: in expansion of macro ‘OUT4CC’ 917 | OUT4CC ("strf"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:918:8: note: in expansion of macro ‘OUTLONG’ 918 | OUTLONG(16); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:918:8: note: in expansion of macro ‘OUTLONG’ 918 | OUTLONG(16); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:921:8: note: in expansion of macro ‘OUTLONG’ 921 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:921:8: note: in expansion of macro ‘OUTLONG’ 921 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:923:8: note: in expansion of macro ‘OUTLONG’ 923 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:923:8: note: in expansion of macro ‘OUTLONG’ 923 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:955:4: note: in expansion of macro ‘OUT4CC’ 955 | OUT4CC ("JUNK"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:955:4: note: in expansion of macro ‘OUT4CC’ 955 | OUT4CC ("JUNK"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:956:4: note: in expansion of macro ‘OUTLONG’ 956 | OUTLONG(njunk); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:956:4: note: in expansion of macro ‘OUTLONG’ 956 | OUTLONG(njunk); | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:963:4: note: in expansion of macro ‘OUT4CC’ 963 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:963:4: note: in expansion of macro ‘OUT4CC’ 963 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:964:4: note: in expansion of macro ‘OUTLONG’ 964 | OUTLONG(movi_len); /* Length of list in bytes */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:964:4: note: in expansion of macro ‘OUTLONG’ 964 | OUTLONG(movi_len); /* Length of list in bytes */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:965:4: note: in expansion of macro ‘OUT4CC’ 965 | OUT4CC ("movi"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:965:4: note: in expansion of macro ‘OUT4CC’ 965 | OUT4CC ("movi"); | ^~~~~~ avilib.c: In function ‘avi_parse_comments’: avilib.c:1083:25: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness [-Wpointer-sign] 1083 | long2str(buf+len, k+1); len += 4; | ~~~^~~~ | | | char * avilib.c:115:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:1013:16: warning: variable ‘readlen’ set but not used [-Wunused-but-set-variable] 1013 | int len=0, readlen=0, k; | ^~~~~~~ avilib.c: In function ‘avi_close_output_file’: avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1233:4: note: in expansion of macro ‘OUT4CC’ 1233 | OUT4CC ("RIFF"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1233:4: note: in expansion of macro ‘OUT4CC’ 1233 | OUT4CC ("RIFF"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1235:8: note: in expansion of macro ‘OUTLONG’ 1235 | OUTLONG(AVI->video_superindex->stdindex[ 1 ]->qwBaseOffset - 8); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1235:8: note: in expansion of macro ‘OUTLONG’ 1235 | OUTLONG(AVI->video_superindex->stdindex[ 1 ]->qwBaseOffset - 8); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1237:8: note: in expansion of macro ‘OUTLONG’ 1237 | OUTLONG(AVI->pos - 8); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1237:8: note: in expansion of macro ‘OUTLONG’ 1237 | OUTLONG(AVI->pos - 8); /* # of bytes to follow */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1240:4: note: in expansion of macro ‘OUT4CC’ 1240 | OUT4CC ("AVI "); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1240:4: note: in expansion of macro ‘OUT4CC’ 1240 | OUT4CC ("AVI "); | ^~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1244:4: note: in expansion of macro ‘OUT4CC’ 1244 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1244:4: note: in expansion of macro ‘OUT4CC’ 1244 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1245:4: note: in expansion of macro ‘OUTLONG’ 1245 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1245:4: note: in expansion of macro ‘OUTLONG’ 1245 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1247:4: note: in expansion of macro ‘OUT4CC’ 1247 | OUT4CC ("hdrl"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1247:4: note: in expansion of macro ‘OUT4CC’ 1247 | OUT4CC ("hdrl"); | ^~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1260:4: note: in expansion of macro ‘OUT4CC’ 1260 | OUT4CC ("avih"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1260:4: note: in expansion of macro ‘OUT4CC’ 1260 | OUT4CC ("avih"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1261:4: note: in expansion of macro ‘OUTLONG’ 1261 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1261:4: note: in expansion of macro ‘OUTLONG’ 1261 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1262:4: note: in expansion of macro ‘OUTLONG’ 1262 | OUTLONG(ms_per_frame); /* Microseconds per frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1262:4: note: in expansion of macro ‘OUTLONG’ 1262 | OUTLONG(ms_per_frame); /* Microseconds per frame */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1265:4: note: in expansion of macro ‘OUTLONG’ 1265 | OUTLONG(0); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1265:4: note: in expansion of macro ‘OUTLONG’ 1265 | OUTLONG(0); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1266:4: note: in expansion of macro ‘OUTLONG’ 1266 | OUTLONG(0); /* PaddingGranularity (whatever that might be) */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1266:4: note: in expansion of macro ‘OUTLONG’ 1266 | OUTLONG(0); /* PaddingGranularity (whatever that might be) */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1271:4: note: in expansion of macro ‘OUTLONG’ 1271 | OUTLONG(flag); /* Flags */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1271:4: note: in expansion of macro ‘OUTLONG’ 1271 | OUTLONG(flag); /* Flags */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1272:4: note: in expansion of macro ‘OUTLONG’ 1272 | OUTLONG(AVI->video_frames); /* TotalFrames */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1272:4: note: in expansion of macro ‘OUTLONG’ 1272 | OUTLONG(AVI->video_frames); /* TotalFrames */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1273:4: note: in expansion of macro ‘OUTLONG’ 1273 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1273:4: note: in expansion of macro ‘OUTLONG’ 1273 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1275:4: note: in expansion of macro ‘OUTLONG’ 1275 | OUTLONG(AVI->anum+1); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1275:4: note: in expansion of macro ‘OUTLONG’ 1275 | OUTLONG(AVI->anum+1); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1281:4: note: in expansion of macro ‘OUTLONG’ 1281 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1281:4: note: in expansion of macro ‘OUTLONG’ 1281 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1282:4: note: in expansion of macro ‘OUTLONG’ 1282 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1282:4: note: in expansion of macro ‘OUTLONG’ 1282 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1283:4: note: in expansion of macro ‘OUTLONG’ 1283 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1283:4: note: in expansion of macro ‘OUTLONG’ 1283 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1285:4: note: in expansion of macro ‘OUTLONG’ 1285 | OUTLONG(0); /* TimeScale: Unit used to measure time */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1285:4: note: in expansion of macro ‘OUTLONG’ 1285 | OUTLONG(0); /* TimeScale: Unit used to measure time */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1286:4: note: in expansion of macro ‘OUTLONG’ 1286 | OUTLONG(0); /* DataRate: Data rate of playback */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1286:4: note: in expansion of macro ‘OUTLONG’ 1286 | OUTLONG(0); /* DataRate: Data rate of playback */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1287:4: note: in expansion of macro ‘OUTLONG’ 1287 | OUTLONG(0); /* StartTime: Starting time of AVI data */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1287:4: note: in expansion of macro ‘OUTLONG’ 1287 | OUTLONG(0); /* StartTime: Starting time of AVI data */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1288:4: note: in expansion of macro ‘OUTLONG’ 1288 | OUTLONG(0); /* DataLength: Size of AVI data chunk */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1288:4: note: in expansion of macro ‘OUTLONG’ 1288 | OUTLONG(0); /* DataLength: Size of AVI data chunk */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1293:4: note: in expansion of macro ‘OUT4CC’ 1293 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1293:4: note: in expansion of macro ‘OUT4CC’ 1293 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1294:4: note: in expansion of macro ‘OUTLONG’ 1294 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1294:4: note: in expansion of macro ‘OUTLONG’ 1294 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1296:4: note: in expansion of macro ‘OUT4CC’ 1296 | OUT4CC ("strl"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1296:4: note: in expansion of macro ‘OUT4CC’ 1296 | OUT4CC ("strl"); | ^~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1300:4: note: in expansion of macro ‘OUT4CC’ 1300 | OUT4CC ("strh"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1300:4: note: in expansion of macro ‘OUT4CC’ 1300 | OUT4CC ("strh"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1301:4: note: in expansion of macro ‘OUTLONG’ 1301 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1301:4: note: in expansion of macro ‘OUTLONG’ 1301 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1302:4: note: in expansion of macro ‘OUT4CC’ 1302 | OUT4CC ("vids"); /* Type */ | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1302:4: note: in expansion of macro ‘OUT4CC’ 1302 | OUT4CC ("vids"); /* Type */ | ^~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1303:4: note: in expansion of macro ‘OUT4CC’ 1303 | OUT4CC (AVI->compressor); /* Handler */ | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1303:4: note: in expansion of macro ‘OUT4CC’ 1303 | OUT4CC (AVI->compressor); /* Handler */ | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1304:4: note: in expansion of macro ‘OUTLONG’ 1304 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1304:4: note: in expansion of macro ‘OUTLONG’ 1304 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1305:4: note: in expansion of macro ‘OUTLONG’ 1305 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1305:4: note: in expansion of macro ‘OUTLONG’ 1305 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1306:4: note: in expansion of macro ‘OUTLONG’ 1306 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1306:4: note: in expansion of macro ‘OUTLONG’ 1306 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1307:4: note: in expansion of macro ‘OUTLONG’ 1307 | OUTLONG(FRAME_RATE_SCALE); /* Scale */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1307:4: note: in expansion of macro ‘OUTLONG’ 1307 | OUTLONG(FRAME_RATE_SCALE); /* Scale */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1308:4: note: in expansion of macro ‘OUTLONG’ 1308 | OUTLONG(frate); /* Rate: Rate/Scale == samples/second */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1308:4: note: in expansion of macro ‘OUTLONG’ 1308 | OUTLONG(frate); /* Rate: Rate/Scale == samples/second */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1309:4: note: in expansion of macro ‘OUTLONG’ 1309 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1309:4: note: in expansion of macro ‘OUTLONG’ 1309 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1310:4: note: in expansion of macro ‘OUTLONG’ 1310 | OUTLONG(AVI->video_frames); /* Length */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1310:4: note: in expansion of macro ‘OUTLONG’ 1310 | OUTLONG(AVI->video_frames); /* Length */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1311:4: note: in expansion of macro ‘OUTLONG’ 1311 | OUTLONG(AVI->max_len); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1311:4: note: in expansion of macro ‘OUTLONG’ 1311 | OUTLONG(AVI->max_len); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1312:4: note: in expansion of macro ‘OUTLONG’ 1312 | OUTLONG(0); /* Quality */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1312:4: note: in expansion of macro ‘OUTLONG’ 1312 | OUTLONG(0); /* Quality */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1313:4: note: in expansion of macro ‘OUTLONG’ 1313 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1313:4: note: in expansion of macro ‘OUTLONG’ 1313 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1314:4: note: in expansion of macro ‘OUTLONG’ 1314 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1314:4: note: in expansion of macro ‘OUTLONG’ 1314 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1315:4: note: in expansion of macro ‘OUTLONG’ 1315 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1315:4: note: in expansion of macro ‘OUTLONG’ 1315 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1324:4: note: in expansion of macro ‘OUT4CC’ 1324 | OUT4CC ("strf"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1324:4: note: in expansion of macro ‘OUT4CC’ 1324 | OUT4CC ("strf"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1325:4: note: in expansion of macro ‘OUTLONG’ 1325 | OUTLONG(40 + xd_size_align2);/* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1325:4: note: in expansion of macro ‘OUTLONG’ 1325 | OUTLONG(40 + xd_size_align2);/* # of bytes to follow */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1326:4: note: in expansion of macro ‘OUTLONG’ 1326 | OUTLONG(40 + xd_size); /* Size */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1326:4: note: in expansion of macro ‘OUTLONG’ 1326 | OUTLONG(40 + xd_size); /* Size */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1327:4: note: in expansion of macro ‘OUTLONG’ 1327 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1327:4: note: in expansion of macro ‘OUTLONG’ 1327 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1328:4: note: in expansion of macro ‘OUTLONG’ 1328 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1328:4: note: in expansion of macro ‘OUTLONG’ 1328 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1330:4: note: in expansion of macro ‘OUT4CC’ 1330 | OUT4CC (AVI->compressor); /* Compression */ | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1330:4: note: in expansion of macro ‘OUT4CC’ 1330 | OUT4CC (AVI->compressor); /* Compression */ | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1332:4: note: in expansion of macro ‘OUTLONG’ 1332 | OUTLONG(AVI->width*AVI->height*3); /* SizeImage (in bytes?) */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1332:4: note: in expansion of macro ‘OUTLONG’ 1332 | OUTLONG(AVI->width*AVI->height*3); /* SizeImage (in bytes?) */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1333:4: note: in expansion of macro ‘OUTLONG’ 1333 | OUTLONG(0); /* XPelsPerMeter */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1333:4: note: in expansion of macro ‘OUTLONG’ 1333 | OUTLONG(0); /* XPelsPerMeter */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1334:4: note: in expansion of macro ‘OUTLONG’ 1334 | OUTLONG(0); /* YPelsPerMeter */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1334:4: note: in expansion of macro ‘OUTLONG’ 1334 | OUTLONG(0); /* YPelsPerMeter */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1335:4: note: in expansion of macro ‘OUTLONG’ 1335 | OUTLONG(0); /* ClrUsed: Number of colors used */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1335:4: note: in expansion of macro ‘OUTLONG’ 1335 | OUTLONG(0); /* ClrUsed: Number of colors used */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1336:4: note: in expansion of macro ‘OUTLONG’ 1336 | OUTLONG(0); /* ClrImportant: Number of colors important */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1336:4: note: in expansion of macro ‘OUTLONG’ 1336 | OUTLONG(0); /* ClrImportant: Number of colors important */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1351:8: note: in expansion of macro ‘OUT4CC’ 1351 | OUT4CC(AVI->video_superindex->fcc); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1351:8: note: in expansion of macro ‘OUT4CC’ 1351 | OUT4CC(AVI->video_superindex->fcc); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1352:8: note: in expansion of macro ‘OUTLONG’ 1352 | OUTLONG(2+1+1+4+4+3*4 + AVI->video_superindex->nEntriesInUse * (8+4+4)); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1352:8: note: in expansion of macro ‘OUTLONG’ 1352 | OUTLONG(2+1+1+4+4+3*4 + AVI->video_superindex->nEntriesInUse * (8+4+4)); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1356:8: note: in expansion of macro ‘OUTLONG’ 1356 | OUTLONG(AVI->video_superindex->nEntriesInUse); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1356:8: note: in expansion of macro ‘OUTLONG’ 1356 | OUTLONG(AVI->video_superindex->nEntriesInUse); | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1357:8: note: in expansion of macro ‘OUT4CC’ 1357 | OUT4CC(AVI->video_superindex->dwChunkId); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1357:8: note: in expansion of macro ‘OUT4CC’ 1357 | OUT4CC(AVI->video_superindex->dwChunkId); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1358:8: note: in expansion of macro ‘OUTLONG’ 1358 | OUTLONG(0); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1358:8: note: in expansion of macro ‘OUTLONG’ 1358 | OUTLONG(0); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1359:8: note: in expansion of macro ‘OUTLONG’ 1359 | OUTLONG(0); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1359:8: note: in expansion of macro ‘OUTLONG’ 1359 | OUTLONG(0); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1360:8: note: in expansion of macro ‘OUTLONG’ 1360 | OUTLONG(0); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1360:8: note: in expansion of macro ‘OUTLONG’ 1360 | OUTLONG(0); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1380:12: note: in expansion of macro ‘OUTLONG’ 1380 | OUTLONG(s); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1380:12: note: in expansion of macro ‘OUTLONG’ 1380 | OUTLONG(s); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1381:12: note: in expansion of macro ‘OUTLONG’ 1381 | OUTLONG(r); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1381:12: note: in expansion of macro ‘OUTLONG’ 1381 | OUTLONG(r); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1382:12: note: in expansion of macro ‘OUTLONG’ 1382 | OUTLONG(AVI->video_superindex->aIndex[k].dwSize); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1382:12: note: in expansion of macro ‘OUTLONG’ 1382 | OUTLONG(AVI->video_superindex->aIndex[k].dwSize); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1383:12: note: in expansion of macro ‘OUTLONG’ 1383 | OUTLONG(AVI->video_superindex->aIndex[k].dwDuration); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1383:12: note: in expansion of macro ‘OUTLONG’ 1383 | OUTLONG(AVI->video_superindex->aIndex[k].dwDuration); | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1422:10: note: in expansion of macro ‘OUT4CC’ 1422 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1422:10: note: in expansion of macro ‘OUT4CC’ 1422 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1423:10: note: in expansion of macro ‘OUTLONG’ 1423 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1423:10: note: in expansion of macro ‘OUTLONG’ 1423 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1425:10: note: in expansion of macro ‘OUT4CC’ 1425 | OUT4CC ("strl"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1425:10: note: in expansion of macro ‘OUT4CC’ 1425 | OUT4CC ("strl"); | ^~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1429:10: note: in expansion of macro ‘OUT4CC’ 1429 | OUT4CC ("strh"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1429:10: note: in expansion of macro ‘OUT4CC’ 1429 | OUT4CC ("strh"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1430:10: note: in expansion of macro ‘OUTLONG’ 1430 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1430:10: note: in expansion of macro ‘OUTLONG’ 1430 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1431:10: note: in expansion of macro ‘OUT4CC’ 1431 | OUT4CC ("auds"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1431:10: note: in expansion of macro ‘OUT4CC’ 1431 | OUT4CC ("auds"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1435:10: note: in expansion of macro ‘OUTLONG’ 1435 | OUTLONG(0); /* Format (Optionally) */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1435:10: note: in expansion of macro ‘OUTLONG’ 1435 | OUTLONG(0); /* Format (Optionally) */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1438:10: note: in expansion of macro ‘OUTLONG’ 1438 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1438:10: note: in expansion of macro ‘OUTLONG’ 1438 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1439:10: note: in expansion of macro ‘OUTLONG’ 1439 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1439:10: note: in expansion of macro ‘OUTLONG’ 1439 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1440:10: note: in expansion of macro ‘OUTLONG’ 1440 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1440:10: note: in expansion of macro ‘OUTLONG’ 1440 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1444:14: note: in expansion of macro ‘OUTLONG’ 1444 | OUTLONG(nBlockAlign); /* Scale */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1444:14: note: in expansion of macro ‘OUTLONG’ 1444 | OUTLONG(nBlockAlign); /* Scale */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1445:14: note: in expansion of macro ‘OUTLONG’ 1445 | OUTLONG(AVI->track[j].a_rate); /* Rate */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1445:14: note: in expansion of macro ‘OUTLONG’ 1445 | OUTLONG(AVI->track[j].a_rate); /* Rate */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1446:14: note: in expansion of macro ‘OUTLONG’ 1446 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1446:14: note: in expansion of macro ‘OUTLONG’ 1446 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1447:14: note: in expansion of macro ‘OUTLONG’ 1447 | OUTLONG(AVI->track[j].audio_chunks); /* Length */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1447:14: note: in expansion of macro ‘OUTLONG’ 1447 | OUTLONG(AVI->track[j].audio_chunks); /* Length */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1448:14: note: in expansion of macro ‘OUTLONG’ 1448 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1448:14: note: in expansion of macro ‘OUTLONG’ 1448 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1449:14: note: in expansion of macro ‘OUTLONG’ 1449 | OUTLONG(0); /* Quality */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1449:14: note: in expansion of macro ‘OUTLONG’ 1449 | OUTLONG(0); /* Quality */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1450:14: note: in expansion of macro ‘OUTLONG’ 1450 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1450:14: note: in expansion of macro ‘OUTLONG’ 1450 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1451:14: note: in expansion of macro ‘OUTLONG’ 1451 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1451:14: note: in expansion of macro ‘OUTLONG’ 1451 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1452:14: note: in expansion of macro ‘OUTLONG’ 1452 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1452:14: note: in expansion of macro ‘OUTLONG’ 1452 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1454:14: note: in expansion of macro ‘OUTLONG’ 1454 | OUTLONG(sampsize/4); /* Scale */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1454:14: note: in expansion of macro ‘OUTLONG’ 1454 | OUTLONG(sampsize/4); /* Scale */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1455:14: note: in expansion of macro ‘OUTLONG’ 1455 | OUTLONG(scalerate); /* Rate */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1455:14: note: in expansion of macro ‘OUTLONG’ 1455 | OUTLONG(scalerate); /* Rate */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1456:14: note: in expansion of macro ‘OUTLONG’ 1456 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1456:14: note: in expansion of macro ‘OUTLONG’ 1456 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1457:14: note: in expansion of macro ‘OUTLONG’ 1457 | OUTLONG(4*AVI->track[j].audio_bytes/sampsize); /* Length */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1457:14: note: in expansion of macro ‘OUTLONG’ 1457 | OUTLONG(4*AVI->track[j].audio_bytes/sampsize); /* Length */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1458:14: note: in expansion of macro ‘OUTLONG’ 1458 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1458:14: note: in expansion of macro ‘OUTLONG’ 1458 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1459:14: note: in expansion of macro ‘OUTLONG’ 1459 | OUTLONG(0xffffffff); /* Quality */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1459:14: note: in expansion of macro ‘OUTLONG’ 1459 | OUTLONG(0xffffffff); /* Quality */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1460:14: note: in expansion of macro ‘OUTLONG’ 1460 | OUTLONG(sampsize/4); /* SampleSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1460:14: note: in expansion of macro ‘OUTLONG’ 1460 | OUTLONG(sampsize/4); /* SampleSize */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1461:14: note: in expansion of macro ‘OUTLONG’ 1461 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1461:14: note: in expansion of macro ‘OUTLONG’ 1461 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1462:14: note: in expansion of macro ‘OUTLONG’ 1462 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1462:14: note: in expansion of macro ‘OUTLONG’ 1462 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1467:10: note: in expansion of macro ‘OUT4CC’ 1467 | OUT4CC ("strf"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1467:10: note: in expansion of macro ‘OUT4CC’ 1467 | OUT4CC ("strf"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1471:14: note: in expansion of macro ‘OUTLONG’ 1471 | OUTLONG(30); /* # of bytes to follow */ // mplayer writes 28 | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1471:14: note: in expansion of macro ‘OUTLONG’ 1471 | OUTLONG(30); /* # of bytes to follow */ // mplayer writes 28 | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1474:14: note: in expansion of macro ‘OUTLONG’ 1474 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ // 4 | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1474:14: note: in expansion of macro ‘OUTLONG’ 1474 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ // 4 | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1476:14: note: in expansion of macro ‘OUTLONG’ 1476 | OUTLONG(1000*AVI->track[j].mp3rate/8); /* maybe we should write an avg. */ // 4 | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1476:14: note: in expansion of macro ‘OUTLONG’ 1476 | OUTLONG(1000*AVI->track[j].mp3rate/8); /* maybe we should write an avg. */ // 4 | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1482:14: note: in expansion of macro ‘OUTLONG’ 1482 | OUTLONG(2); /* fdwFlags */ // 4 | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1482:14: note: in expansion of macro ‘OUTLONG’ 1482 | OUTLONG(2); /* fdwFlags */ // 4 | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1489:14: note: in expansion of macro ‘OUTLONG’ 1489 | OUTLONG(30); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1489:14: note: in expansion of macro ‘OUTLONG’ 1489 | OUTLONG(30); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1492:14: note: in expansion of macro ‘OUTLONG’ 1492 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1492:14: note: in expansion of macro ‘OUTLONG’ 1492 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1494:14: note: in expansion of macro ‘OUTLONG’ 1494 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1494:14: note: in expansion of macro ‘OUTLONG’ 1494 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1500:14: note: in expansion of macro ‘OUTLONG’ 1500 | OUTLONG(2); /* fdwFlags */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1500:14: note: in expansion of macro ‘OUTLONG’ 1500 | OUTLONG(2); /* fdwFlags */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1507:14: note: in expansion of macro ‘OUTLONG’ 1507 | OUTLONG(18); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1507:14: note: in expansion of macro ‘OUTLONG’ 1507 | OUTLONG(18); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1510:14: note: in expansion of macro ‘OUTLONG’ 1510 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1510:14: note: in expansion of macro ‘OUTLONG’ 1510 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1512:14: note: in expansion of macro ‘OUTLONG’ 1512 | OUTLONG(avgbsec); /* Avg bytes/sec */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1512:14: note: in expansion of macro ‘OUTLONG’ 1512 | OUTLONG(avgbsec); /* Avg bytes/sec */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1528:12: note: in expansion of macro ‘OUT4CC’ 1528 | OUT4CC(AVI->track[j].audio_superindex->fcc); /* "indx" */ | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1528:12: note: in expansion of macro ‘OUT4CC’ 1528 | OUT4CC(AVI->track[j].audio_superindex->fcc); /* "indx" */ | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1529:12: note: in expansion of macro ‘OUTLONG’ 1529 | OUTLONG(2+1+1+4+4+3*4 + AVI->track[j].audio_superindex->nEntriesInUse * (8+4+4)); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1529:12: note: in expansion of macro ‘OUTLONG’ 1529 | OUTLONG(2+1+1+4+4+3*4 + AVI->track[j].audio_superindex->nEntriesInUse * (8+4+4)); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1533:12: note: in expansion of macro ‘OUTLONG’ 1533 | OUTLONG(AVI->track[j].audio_superindex->nEntriesInUse); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1533:12: note: in expansion of macro ‘OUTLONG’ 1533 | OUTLONG(AVI->track[j].audio_superindex->nEntriesInUse); | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1534:12: note: in expansion of macro ‘OUT4CC’ 1534 | OUT4CC(AVI->track[j].audio_superindex->dwChunkId); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1534:12: note: in expansion of macro ‘OUT4CC’ 1534 | OUT4CC(AVI->track[j].audio_superindex->dwChunkId); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1535:12: note: in expansion of macro ‘OUTLONG’ 1535 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1535:12: note: in expansion of macro ‘OUTLONG’ 1535 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1535:24: note: in expansion of macro ‘OUTLONG’ 1535 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1535:24: note: in expansion of macro ‘OUTLONG’ 1535 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1535:36: note: in expansion of macro ‘OUTLONG’ 1535 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1535:36: note: in expansion of macro ‘OUTLONG’ 1535 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1552:16: note: in expansion of macro ‘OUTLONG’ 1552 | OUTLONG(s); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1552:16: note: in expansion of macro ‘OUTLONG’ 1552 | OUTLONG(s); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1553:16: note: in expansion of macro ‘OUTLONG’ 1553 | OUTLONG(r); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1553:16: note: in expansion of macro ‘OUTLONG’ 1553 | OUTLONG(r); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1554:16: note: in expansion of macro ‘OUTLONG’ 1554 | OUTLONG(AVI->track[j].audio_superindex->aIndex[k].dwSize); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1554:16: note: in expansion of macro ‘OUTLONG’ 1554 | OUTLONG(AVI->track[j].audio_superindex->aIndex[k].dwSize); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1555:16: note: in expansion of macro ‘OUTLONG’ 1555 | OUTLONG(AVI->track[j].audio_superindex->aIndex[k].dwDuration); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1555:16: note: in expansion of macro ‘OUTLONG’ 1555 | OUTLONG(AVI->track[j].audio_superindex->aIndex[k].dwDuration); | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1563:8: note: in expansion of macro ‘OUT4CC’ 1563 | OUT4CC("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1563:8: note: in expansion of macro ‘OUT4CC’ 1563 | OUT4CC("LIST"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1564:8: note: in expansion of macro ‘OUTLONG’ 1564 | OUTLONG(16); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1564:8: note: in expansion of macro ‘OUTLONG’ 1564 | OUTLONG(16); | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1565:8: note: in expansion of macro ‘OUT4CC’ 1565 | OUT4CC("odml"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1565:8: note: in expansion of macro ‘OUT4CC’ 1565 | OUT4CC("odml"); | ^~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1566:8: note: in expansion of macro ‘OUT4CC’ 1566 | OUT4CC("dmlh"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1566:8: note: in expansion of macro ‘OUT4CC’ 1566 | OUT4CC("dmlh"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1567:8: note: in expansion of macro ‘OUTLONG’ 1567 | OUTLONG(4); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1567:8: note: in expansion of macro ‘OUTLONG’ 1567 | OUTLONG(4); | ^~~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1568:8: note: in expansion of macro ‘OUTLONG’ 1568 | OUTLONG(AVI->total_frames); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1568:8: note: in expansion of macro ‘OUTLONG’ 1568 | OUTLONG(AVI->total_frames); | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1579:4: note: in expansion of macro ‘OUT4CC’ 1579 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1579:4: note: in expansion of macro ‘OUT4CC’ 1579 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1583:4: note: in expansion of macro ‘OUTLONG’ 1583 | OUTLONG(info_len); // rewritten later | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1583:4: note: in expansion of macro ‘OUTLONG’ 1583 | OUTLONG(info_len); // rewritten later | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1584:4: note: in expansion of macro ‘OUT4CC’ 1584 | OUT4CC ("INFO"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1584:4: note: in expansion of macro ‘OUT4CC’ 1584 | OUT4CC ("INFO"); | ^~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1586:4: note: in expansion of macro ‘OUT4CC’ 1586 | OUT4CC ("ISFT"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1586:4: note: in expansion of macro ‘OUT4CC’ 1586 | OUT4CC ("ISFT"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1594:4: note: in expansion of macro ‘OUTLONG’ 1594 | OUTLONG(real_id_len); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1594:4: note: in expansion of macro ‘OUTLONG’ 1594 | OUTLONG(real_id_len); | ^~~~~~~ avilib.c:1600:62: warning: pointer targets in passing argument 2 of ‘avi_parse_comments’ differ in signedness [-Wpointer-sign] 1600 | info_len = avi_parse_comments (AVI->comment_fd, AVI_header+nhb, HEADERBYTES - nhb - 8 - 12); | ~~~~~~~~~~^~~~ | | | unsigned char * avilib.c:1011:46: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1011 | static int avi_parse_comments (int fd, char *buf, int space_left) | ~~~~~~^~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1634:4: note: in expansion of macro ‘OUT4CC’ 1634 | OUT4CC ("JUNK"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1634:4: note: in expansion of macro ‘OUT4CC’ 1634 | OUT4CC ("JUNK"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1635:4: note: in expansion of macro ‘OUTLONG’ 1635 | OUTLONG(njunk); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1635:4: note: in expansion of macro ‘OUTLONG’ 1635 | OUTLONG(njunk); | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1642:4: note: in expansion of macro ‘OUT4CC’ 1642 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1642:4: note: in expansion of macro ‘OUT4CC’ 1642 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:711:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1643:4: note: in expansion of macro ‘OUTLONG’ 1643 | OUTLONG(movi_len); /* Length of list in bytes */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1643:4: note: in expansion of macro ‘OUTLONG’ 1643 | OUTLONG(movi_len); /* Length of list in bytes */ | ^~~~~~~ avilib.c:708:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1644:4: note: in expansion of macro ‘OUT4CC’ 1644 | OUT4CC ("movi"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1644:4: note: in expansion of macro ‘OUT4CC’ 1644 | OUT4CC ("movi"); | ^~~~~~ avilib.c:1669:22: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness [-Wpointer-sign] 1669 | long2str(f, len); | ^ | | | char * avilib.c:115:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:1675:22: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness [-Wpointer-sign] 1675 | long2str(f, len); | ^ | | | char * avilib.c:115:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c: In function ‘avi_write_data’: avilib.c:1733:50: warning: pointer targets in passing argument 3 of ‘avi_add_chunk’ differ in signedness [-Wpointer-sign] 1733 | n = avi_add_chunk(AVI,(unsigned char *)astr,data,length); | ^~~~ | | | char * avilib.c:181:73: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 181 | static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~~ avilib.c:1735:52: warning: pointer targets in passing argument 3 of ‘avi_add_chunk’ differ in signedness [-Wpointer-sign] 1735 | n = avi_add_chunk(AVI,(unsigned char *)"00db",data,length); | ^~~~ | | | char * avilib.c:181:73: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 181 | static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~~ avilib.c: In function ‘avi_parse_input_file’: avilib.c:2359:41: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 2359 | else if (strncasecmp (hdrl_data+i,"iavs",4) ==0 && ! auds_strh_seen) { | ~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/string.h:446, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:2367:36: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 2367 | else if(strncasecmp(hdrl_data+i,"dmlh",4) == 0) { | ~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/string.h:446, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:2444:36: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 2444 | else if(strncasecmp(hdrl_data+i,"indx",4) == 0) { | ~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/string.h:446, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:2451:15: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 2451 | a = hdrl_data+i; | ^ avilib.c:2455:55: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2455 | AVI->video_superindex->dwSize = str2ulong(a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2456:64: warning: pointer targets in passing argument 1 of ‘str2ushort’ differ in signedness [-Wpointer-sign] 2456 | AVI->video_superindex->wLongsPerEntry = str2ushort(a); a += 2; | ^ | | | char * avilib.c:145:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 145 | static uint32_t str2ushort(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2459:62: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2459 | AVI->video_superindex->nEntriesInUse = str2ulong(a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2472:72: warning: pointer targets in passing argument 1 of ‘str2ullong’ differ in signedness [-Wpointer-sign] 2472 | AVI->video_superindex->aIndex[j].qwOffset = str2ullong (a); a += 8; | ^ | | | char * avilib.c:134:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 134 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2473:69: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2473 | AVI->video_superindex->aIndex[j].dwSize = str2ulong (a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2474:73: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2474 | AVI->video_superindex->aIndex[j].dwDuration = str2ulong (a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2504:15: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 2504 | a = hdrl_data+i; | ^ avilib.c:2508:72: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2508 | AVI->track[AVI->aptr].audio_superindex->dwSize = str2ulong(a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2509:81: warning: pointer targets in passing argument 1 of ‘str2ushort’ differ in signedness [-Wpointer-sign] 2509 | AVI->track[AVI->aptr].audio_superindex->wLongsPerEntry = str2ushort(a); a += 2; | ^ | | | char * avilib.c:145:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 145 | static uint32_t str2ushort(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2512:79: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2512 | AVI->track[AVI->aptr].audio_superindex->nEntriesInUse = str2ulong(a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2526:89: warning: pointer targets in passing argument 1 of ‘str2ullong’ differ in signedness [-Wpointer-sign] 2526 | AVI->track[AVI->aptr].audio_superindex->aIndex[j].qwOffset = str2ullong (a); a += 8; | ^ | | | char * avilib.c:134:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 134 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2527:86: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2527 | AVI->track[AVI->aptr].audio_superindex->aIndex[j].dwSize = str2ulong (a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2528:90: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2528 | AVI->track[AVI->aptr].audio_superindex->aIndex[j].dwDuration = str2ulong (a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2552:37: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 2552 | else if((strncasecmp(hdrl_data+i,"JUNK",4) == 0) || | ~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/string.h:446, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:2553:37: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 2553 | (strncasecmp(hdrl_data+i,"strn",4) == 0) || | ~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/string.h:446, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:2554:37: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 2554 | (strncasecmp(hdrl_data+i,"vprp",4) == 0)){ | ~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/string.h:446, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:2724:35: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2724 | nrEntries = str2ulong(en + 12); | ~~~^~~~ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2728:33: warning: pointer targets in passing argument 1 of ‘str2ullong’ differ in signedness [-Wpointer-sign] 2728 | offset = str2ullong(en + 20); | ~~~^~~~ | | | char * avilib.c:134:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 134 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2741:58: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2741 | AVI->video_index[k].pos = offset + str2ulong(en); en += 4; | ^~ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2742:53: warning: pointer targets in passing argument 1 of ‘str2ulong_len’ differ in signedness [-Wpointer-sign] 2742 | AVI->video_index[k].len = str2ulong_len(en); | ^~ | | | char * avilib.c:151:47: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 151 | static uint32_t str2ulong_len (unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2743:53: warning: pointer targets in passing argument 1 of ‘str2ulong_key’ differ in signedness [-Wpointer-sign] 2743 | AVI->video_index[k].key = str2ulong_key(en); en += 4; | ^~ | | | char * avilib.c:158:47: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 158 | static uint32_t str2ulong_key (unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2803:38: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2803 | nrEntries = str2ulong(en + 12); | ~~~^~~~ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2808:36: warning: pointer targets in passing argument 1 of ‘str2ullong’ differ in signedness [-Wpointer-sign] 2808 | offset = str2ullong(en + 20); | ~~~^~~~ | | | char * avilib.c:134:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 134 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2817:74: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness [-Wpointer-sign] 2817 | AVI->track[audtr].audio_index[k].pos = offset + str2ulong(en); en += 4; | ^~ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2818:69: warning: pointer targets in passing argument 1 of ‘str2ulong_len’ differ in signedness [-Wpointer-sign] 2818 | AVI->track[audtr].audio_index[k].len = str2ulong_len(en); en += 4; | ^~ | | | char * avilib.c:151:47: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 151 | static uint32_t str2ulong_len (unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c: In function ‘AVI_read_audio’: avilib.c:3292:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 3292 | fprintf(stderr, "XXX pos = %lld, ret = %lld, todo = %ld\n", pos, ret, todo); | ~~~^ ~~~ | | | | long long int int64_t {aka long int} | %ld avilib.c:3292:52: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 3292 | fprintf(stderr, "XXX pos = %lld, ret = %lld, todo = %ld\n", pos, ret, todo); | ~~~^ ~~~ | | | | long long int int64_t {aka long int} | %ld avilib.c: In function ‘AVI_read_wave_header’: avilib.c:3527:31: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 3527 | if( strncasecmp(wave->riff.id , "RIFF",4) != 0 || | ~~~~~~~~~~^~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:446, from avilib.h:38, from avilib.c:30: /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:3528:31: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 3528 | strncasecmp(wave->riff.wave_id, "WAVE",4) != 0 || | ~~~~~~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:446, from avilib.h:38, from avilib.c:30: /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:3529:33: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] 3529 | strncasecmp(wave->format.id , "fmt ",4) != 0 ) | ~~~~~~~~~~~~^~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:446, from avilib.h:38, from avilib.c:30: /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: In function ‘avi_parse_index_from_file’: avilib.c:2112:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2112 | fgets(data, 100, fd); | ^~~~~~~~~~~~~~~~~~~~ avilib.c:2120:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2120 | fgets(data, 100, fd); | ^~~~~~~~~~~~~~~~~~~~ avilib.c: In function ‘avi_add_odml_index_entry.constprop’: avilib.c:405:29: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size 3 [-Wformat-overflow=] 405 | sprintf(fcc, "ix%02d", AVI->aptr+1); | ^~~~ avilib.c:405:26: note: directive argument in the range [-2147483647, 2147483647] 405 | sprintf(fcc, "ix%02d", AVI->aptr+1); | ^~~~~~~~ In file included from /usr/include/stdio.h:866, from avilib.h:30, from avilib.c:30: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 5 and 14 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 |  __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 |  __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ avilib.c: In function ‘AVI_write_frame’: avilib.c:1718:28: warning: ‘%1d’ directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] 1718 | sprintf((char *)astr, "0%1dwb", (int)(AVI->aptr+1)); | ^~~ avilib.c:1718:26: note: directive argument in the range [-2147483647, 2147483647] 1718 | sprintf((char *)astr, "0%1dwb", (int)(AVI->aptr+1)); | ^~~~~~~~ In file included from /usr/include/stdio.h:866, from avilib.h:30, from avilib.c:30: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 5 and 15 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 |  __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 |  __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ avilib.c: In function ‘AVI_write_audio’: avilib.c:1718:28: warning: ‘%1d’ directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] 1718 | sprintf((char *)astr, "0%1dwb", (int)(AVI->aptr+1)); | ^~~ avilib.c:1718:26: note: directive argument in the range [-2147483647, 2147483647] 1718 | sprintf((char *)astr, "0%1dwb", (int)(AVI->aptr+1)); | ^~~~~~~~ In file included from /usr/include/stdio.h:866, from avilib.h:30, from avilib.c:30: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 5 and 15 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 |  __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 |  __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ avidump.c: In function ‘dump_vals’: avidump.c:336:39: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘off_t’ {aka ‘long int’} [-Wformat=] 336 | printf("\t%-12s = 0x%016llx\n",names[i].name,val64); | ~~~~~~^ ~~~~~ | | | | | off_t {aka long int} | long long unsigned int | %016lx avidump.c: In function ‘ProcessChunk’: avidump.c:595:49: warning: expression does not compute the number of elements in this array; element type is ‘struct VAL’, not ‘char *’ [-Wsizeof-array-div] 595 | dump_vals(fd,sizeof(names_strf_auds)/sizeof(char*),names_strf_auds); | ^ avidump.c:595:49: note: add parentheses around the second ‘sizeof’ to silence this warning avidump.c:209:12: note: array ‘names_strf_auds’ declared here 209 | struct VAL names_strf_auds[] = { | ^~~~~~~~~~~~~~~ avidump.c:604:45: warning: expression does not compute the number of elements in this array; element type is ‘struct VAL’, not ‘char *’ [-Wsizeof-array-div] 604 | dump_vals(fd,sizeof(names_strf_auds)/sizeof(char*),names_strf_auds); | ^ avidump.c:604:45: note: add parentheses around the second ‘sizeof’ to silence this warning avidump.c:209:12: note: array ‘names_strf_auds’ declared here 209 | struct VAL names_strf_auds[] = { | ^~~~~~~~~~~~~~~ avidump.c:608:50: warning: expression does not compute the number of elements in this array; element type is ‘struct VAL’, not ‘char *’ [-Wsizeof-array-div] 608 | long chunks=*chunksize-sizeof(names_indx)/sizeof(char*); | ^ avidump.c:608:50: note: add parentheses around the second ‘sizeof’ to silence this warning avidump.c:237:12: note: array ‘names_indx’ declared here 237 | struct VAL names_indx[] = { | ^~~~~~~~~~ avidump.c:613:40: warning: expression does not compute the number of elements in this array; element type is ‘struct VAL’, not ‘char *’ [-Wsizeof-array-div] 613 | dump_vals(fd,sizeof(names_indx)/sizeof(char*),names_indx); | ^ avidump.c:613:40: note: add parentheses around the second ‘sizeof’ to silence this warning avidump.c:237:12: note: array ‘names_indx’ declared here 237 | struct VAL names_indx[] = { | ^~~~~~~~~~ avidump.c:623:41: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘off_t’ {aka ‘long int’} [-Wformat=] 623 | printf("\t\t [%6ld] 0x%016llx 0x%08lx %8d\n", u++, offset, size, | ~~~~~~^ ~~~~~~ | | | | long long unsigned int off_t {aka long int} | %016lx avidump.c:633:52: warning: expression does not compute the number of elements in this array; element type is ‘struct VAL’, not ‘char *’ [-Wsizeof-array-div] 633 | long chunks=*chunksize-sizeof(names_stdidx)/sizeof(char*); | ^ avidump.c:633:52: note: add parentheses around the second ‘sizeof’ to silence this warning avidump.c:248:12: note: array ‘names_stdidx’ declared here 248 | struct VAL names_stdidx[] = { | ^~~~~~~~~~~~ avidump.c:637:42: warning: expression does not compute the number of elements in this array; element type is ‘struct VAL’, not ‘char *’ [-Wsizeof-array-div] 637 | dump_vals(fd,sizeof(names_stdidx)/sizeof(char*),names_stdidx); | ^ avidump.c:637:42: note: add parentheses around the second ‘sizeof’ to silence this warning avidump.c:248:12: note: array ‘names_stdidx’ declared here 248 | struct VAL names_stdidx[] = { | ^~~~~~~~~~~~ avidump.c:474:11: warning: variable ‘tt’ set but not used [-Wunused-but-set-variable] 474 | off_t tt; | ^~ rm -f libavi.a x86_64-pc-linux-gnu-ar cru libavi.a avilib.o avidump.o avimisc.o xio.o x86_64-pc-linux-gnu-ranlib libavi.a make[1]: Leaving directory '/var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5/avilib' make[1]: Entering directory '/var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5' x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -pipe -march=ivybridge -mtune=ivybridge -maes -O3 -fgcse-sm -fgcse-las -fgraphite -fgraphite-identity -floop-nest-optimize -ftree-vectorize -fvariable-expansion-in-unroller -fstack-protector-strong -fno-lto -Wall -Wno-sign-compare -c -o ogmmerge.o ogmmerge.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -pipe -march=ivybridge -mtune=ivybridge -maes -O3 -fgcse-sm -fgcse-las -fgraphite -fgraphite-identity -floop-nest-optimize -ftree-vectorize -fvariable-expansion-in-unroller -fstack-protector-strong -fno-lto -Wall -Wno-sign-compare -c -o r_avi.o r_avi.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -pipe -march=ivybridge -mtune=ivybridge -maes -O3 -fgcse-sm -fgcse-las -fgraphite -fgraphite-identity -floop-nest-optimize -ftree-vectorize -fvariable-expansion-in-unroller -fstack-protector-strong -fno-lto -Wall -Wno-sign-compare -c -o r_ogm.o r_ogm.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -pipe -march=ivybridge -mtune=ivybridge -maes -O3 -fgcse-sm -fgcse-las -fgraphite -fgraphite-identity -floop-nest-optimize -ftree-vectorize -fvariable-expansion-in-unroller -fstack-protector-strong -fno-lto -Wall -Wno-sign-compare -c -o r_ac3.o r_ac3.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -pipe -march=ivybridge -mtune=ivybridge -maes -O3 -fgcse-sm -fgcse-las -fgraphite -fgraphite-identity -floop-nest-optimize -ftree-vectorize -fvariable-expansion-in-unroller -fstack-protector-strong -fno-lto -Wall -Wno-sign-compare -c -o r_mp3.o r_mp3.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -pipe -march=ivybridge -mtune=ivybridge -maes -O3 -fgcse-sm -fgcse-las -fgraphite -fgraphite-identity -floop-nest-optimize -ftree-vectorize -fvariable-expansion-in-unroller -fstack-protector-strong -fno-lto -Wall -Wno-sign-compare -c -o r_wav.o r_wav.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -pipe -march=ivybridge -mtune=ivybridge -maes -O3 -fgcse-sm -fgcse-las -fgraphite -fgraphite-identity -floop-nest-optimize -ftree-vectorize -fvariable-expansion-in-unroller -fstack-protector-strong -fno-lto -Wall -Wno-sign-compare -c -o r_microdvd.o r_microdvd.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -pipe -march=ivybridge -mtune=ivybridge -maes -O3 -fgcse-sm -fgcse-las -fgraphite -fgraphite-identity -floop-nest-optimize -ftree-vectorize -fvariable-expansion-in-unroller -fstack-protector-strong -fno-lto -Wall -Wno-sign-compare -c -o r_srt.o r_srt.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -pipe -march=ivybridge -mtune=ivybridge -maes -O3 -fgcse-sm -fgcse-las -fgraphite -fgraphite-identity -floop-nest-optimize -ftree-vectorize -fvariable-expansion-in-unroller -fstack-protector-strong -fno-lto -Wall -Wno-sign-compare -c -o r_vobsub.o r_vobsub.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -pipe -march=ivybridge -mtune=ivybridge -maes -O3 -fgcse-sm -fgcse-las -fgraphite -fgraphite-identity -floop-nest-optimize -ftree-vectorize -fvariable-expansion-in-unroller -fstack-protector-strong -fno-lto -Wall -Wno-sign-compare -c -o p_video.o p_video.cpp In file included from r_microdvd.cpp:27: queue.h:39:11: error: ISO C++17 does not allow dynamic exception specifications 39 | q_c() throw (error_c); | ^~~~~ In file included from r_microdvd.h:27, from r_microdvd.cpp:28: p_textsubs.h:33:45: error: ISO C++17 does not allow dynamic exception specifications 33 | char **ncomments) throw (error_c); | ^~~~~ In file included from r_microdvd.cpp:28: r_microdvd.h:38:41: error: ISO C++17 does not allow dynamic exception specifications 38 | char **ncomments) throw (error_c); | ^~~~~ r_microdvd.cpp:59:38: error: ISO C++17 does not allow dynamic exception specifications 59 | throw (error_c) { | ^~~~~ r_microdvd.cpp: In constructor ‘microdvd_reader_c::microdvd_reader_c(char*, audio_sync_t*, range_t*, char**)’: r_microdvd.cpp:61:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 61 | throw error_c("microdvd_reader: Could not open source file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_microdvd.cpp:63:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 63 | throw error_c("microdvd_reader: Source is not a valid MicroDVD file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:656: r_microdvd.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from p_video.cpp:26: queue.h:39:11: error: ISO C++17 does not allow dynamic exception specifications 39 | q_c() throw (error_c); | ^~~~~ In file included from p_video.cpp:27: p_video.h:38:59: error: ISO C++17 does not allow dynamic exception specifications 38 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ p_video.cpp:34:40: error: ISO C++17 does not allow dynamic exception specifications 34 | throw (error_c) : q_c() { | ^~~~~ make[1]: *** [Makefile:656: p_video.o] Error 1 In file included from r_avi.cpp:28: queue.h:39:11: error: ISO C++17 does not allow dynamic exception specifications 39 | q_c() throw (error_c); | ^~~~~ In file included from r_avi.h:31, from r_avi.cpp:29: p_video.h:38:59: error: ISO C++17 does not allow dynamic exception specifications 38 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ In file included from r_avi.cpp:29: r_avi.h:70:34: error: ISO C++17 does not allow dynamic exception specifications 70 | char* nav_seek) throw (error_c); | ^~~~~ In file included from r_avi.cpp:31: p_pcm.h:40:57: error: ISO C++17 does not allow dynamic exception specifications 40 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ In file included from r_avi.cpp:32: p_mp3.h:43:57: error: ISO C++17 does not allow dynamic exception specifications 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ In file included from r_avi.cpp:33: p_ac3.h:43:57: error: ISO C++17 does not allow dynamic exception specifications 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ r_avi.cpp:58:44: error: ISO C++17 does not allow dynamic exception specifications 58 | char* nav_seek) throw (error_c) { | ^~~~~ r_avi.cpp: In constructor ‘avi_reader_c::avi_reader_c(char*, unsigned char*, unsigned char*, audio_sync_t*, range_t*, char**, char*, char*)’: r_avi.cpp:67:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 67 | throw error_c("avi_reader: fname == NULL !?"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_avi.cpp:70:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 70 | throw error_c("avi_reader: Could not open source file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_avi.cpp:72:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | throw error_c("avi_reader: Could not seek to end of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_avi.cpp:75:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 75 | throw error_c("avi_reader: Could not seek to beginning of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_avi.cpp:77:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 77 | throw error_c("avi_reader: Source is not a valid AVI file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from r_wav.cpp:31: queue.h:39:11: error: ISO C++17 does not allow dynamic exception specifications 39 | q_c() throw (error_c); | ^~~~~ In file included from r_wav.h:31, from r_wav.cpp:32: p_pcm.h:40:57: error: ISO C++17 does not allow dynamic exception specifications 40 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ In file included from r_wav.cpp:32: r_wav.h:44:36: error: ISO C++17 does not allow dynamic exception specifications 44 | char **ncomments) throw (error_c); | ^~~~~ r_wav.cpp:53:63: error: ISO C++17 does not allow dynamic exception specifications 53 | range_t *nrange, char **ncomments) throw (error_c) { | ^~~~~ r_wav.cpp: In constructor ‘wav_reader_c::wav_reader_c(char*, audio_sync_t*, range_t*, char**)’: r_wav.cpp:59:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 59 | throw error_c("wav_reader: Could not open source file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_wav.cpp:61:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 61 | throw error_c("wav_reader: Could not seek to end of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_wav.cpp:64:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 64 | throw error_c("wav_reader: Could not seek to beginning of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_wav.cpp:66:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 66 | throw error_c("wav_reader: Source is not a valid WAVE file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_wav.cpp:68:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 68 | throw error_c("wav_reader: could not read WAVE header."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:656: r_avi.o] Error 1 make[1]: *** [Makefile:656: r_wav.o] Error 1 In file included from r_mp3.cpp:26: queue.h:39:11: error: ISO C++17 does not allow dynamic exception specifications 39 | q_c() throw (error_c); | ^~~~~ In file included from r_mp3.h:31, from r_mp3.cpp:27: p_mp3.h:43:57: error: ISO C++17 does not allow dynamic exception specifications 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ In file included from r_mp3.cpp:27: r_mp3.h:43:36: error: ISO C++17 does not allow dynamic exception specifications 43 | char **ncomments) throw (error_c); | ^~~~~ r_mp3.cpp:63:63: error: ISO C++17 does not allow dynamic exception specifications 63 | range_t *nrange, char **ncomments) throw (error_c) { | ^~~~~ r_mp3.cpp: In constructor ‘mp3_reader_c::mp3_reader_c(char*, audio_sync_t*, range_t*, char**)’: r_mp3.cpp:70:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 70 | throw error_c("mp3_reader: Could not open source file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_mp3.cpp:72:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | throw error_c("mp3_reader: Could not seek to end of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_mp3.cpp:75:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 75 | throw error_c("mp3_reader: Could not seek to beginning of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_mp3.cpp:80:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 80 | throw error_c("mp3_reader: Could not read 4096 bytes."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_mp3.cpp:82:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 82 | throw error_c("mp3_reader: Could not seek to beginning of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_mp3.cpp:85:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 85 | throw error_c("mp3_reader: No valid MP3 packet found in the first " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 |  "4096 bytes.\n"); | ~~~~~~~~~~~~~~~ r_mp3.cpp: In member function ‘virtual void mp3_reader_c::display_progress()’: r_mp3.cpp:152:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘u_int64_t’ {aka ‘long unsigned int’} [-Wformat=] 152 | fprintf(stdout, "progress: %lld/%lld bytes (%d%%)\r", | ~~~^ | | | long long int | %ld 153 | bytes_processed, size, | ~~~~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} r_mp3.cpp:152:38: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t’ {aka ‘long int’} [-Wformat=] 152 | fprintf(stdout, "progress: %lld/%lld bytes (%d%%)\r", | ~~~^ | | | long long int | %ld 153 | bytes_processed, size, | ~~~~ | | | off_t {aka long int} make[1]: *** [Makefile:656: r_mp3.o] Error 1 In file included from r_ac3.cpp:25: queue.h:39:11: error: ISO C++17 does not allow dynamic exception specifications 39 | q_c() throw (error_c); | ^~~~~ In file included from r_ac3.h:26, from r_ac3.cpp:26: p_ac3.h:43:57: error: ISO C++17 does not allow dynamic exception specifications 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ In file included from r_ac3.cpp:26: r_ac3.h:39:36: error: ISO C++17 does not allow dynamic exception specifications 39 | char **ncomments) throw (error_c); | ^~~~~ r_ac3.cpp:58:63: error: ISO C++17 does not allow dynamic exception specifications 58 | range_t *nrange, char **ncomments) throw (error_c) { | ^~~~~ r_ac3.cpp: In constructor ‘ac3_reader_c::ac3_reader_c(char*, audio_sync_t*, range_t*, char**)’: r_ac3.cpp:64:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 64 | throw error_c("ac3_reader: Could not open source file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_ac3.cpp:66:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 66 | throw error_c("ac3_reader: Could not seek to end of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_ac3.cpp:69:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 69 | throw error_c("ac3_reader: Could not seek to beginning of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_ac3.cpp:74:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 74 | throw error_c("ac3_reader: Could not read 4096 bytes."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_ac3.cpp:76:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 76 | throw error_c("ac3_reader: Could not seek to beginning of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_ac3.cpp:79:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 79 | throw error_c("ac3_reader: No valid AC3 packet found in the first " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 |  "4096 bytes.\n"); | ~~~~~~~~~~~~~~~ r_ac3.cpp: In member function ‘virtual void ac3_reader_c::display_progress()’: r_ac3.cpp:143:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘u_int64_t’ {aka ‘long unsigned int’} [-Wformat=] 143 | fprintf(stdout, "progress: %lld/%lld bytes (%d%%)\r", | ~~~^ | | | long long int | %ld 144 | bytes_processed, size, | ~~~~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} r_ac3.cpp:143:38: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘off_t’ {aka ‘long int’} [-Wformat=] 143 | fprintf(stdout, "progress: %lld/%lld bytes (%d%%)\r", | ~~~^ | | | long long int | %ld 144 | bytes_processed, size, | ~~~~ | | | off_t {aka long int} make[1]: *** [Makefile:656: r_ac3.o] Error 1 In file included from r_ogm.cpp:26: queue.h:39:11: error: ISO C++17 does not allow dynamic exception specifications 39 | q_c() throw (error_c); | ^~~~~ In file included from r_ogm.cpp:27: r_ogm.h:65:33: error: ISO C++17 does not allow dynamic exception specifications 65 | char *nfourcc) throw (error_c); | ^~~~~ In file included from r_ogm.cpp:28: p_vorbis.h:40:25: error: ISO C++17 does not allow dynamic exception specifications 40 | throw (error_c); | ^~~~~ In file included from r_ogm.cpp:29: p_video.h:38:59: error: ISO C++17 does not allow dynamic exception specifications 38 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ In file included from r_ogm.cpp:30: p_pcm.h:40:57: error: ISO C++17 does not allow dynamic exception specifications 40 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ In file included from r_ogm.cpp:31: p_textsubs.h:33:45: error: ISO C++17 does not allow dynamic exception specifications 33 | char **ncomments) throw (error_c); | ^~~~~ In file included from r_ogm.cpp:32: p_mp3.h:43:57: error: ISO C++17 does not allow dynamic exception specifications 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ In file included from r_ogm.cpp:33: p_ac3.h:43:57: error: ISO C++17 does not allow dynamic exception specifications 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ r_ogm.cpp:63:61: error: ISO C++17 does not allow dynamic exception specifications 63 | char **ncomments, char *nfourcc) throw (error_c) { | ^~~~~ r_ogm.cpp: In constructor ‘ogm_reader_c::ogm_reader_c(char*, unsigned char*, unsigned char*, unsigned char*, audio_sync_t*, range_t*, char**, char*)’: r_ogm.cpp:67:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 67 | throw error_c("ogm_reader: Could not open source file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_ogm.cpp:69:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 69 | throw error_c("ogm_reader: Could not seek to end of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_ogm.cpp:72:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 72 | throw error_c("ogm_reader: Could not seek to beginning of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_ogm.cpp:74:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 74 | throw error_c("ogm_reader: Source is not a valid OGG media file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:656: r_ogm.o] Error 1 In file included from r_srt.cpp:27: queue.h:39:11: error: ISO C++17 does not allow dynamic exception specifications 39 | q_c() throw (error_c); | ^~~~~ In file included from r_srt.h:27, from r_srt.cpp:28: p_textsubs.h:33:45: error: ISO C++17 does not allow dynamic exception specifications 33 | char **ncomments) throw (error_c); | ^~~~~ In file included from r_srt.cpp:28: r_srt.h:38:36: error: ISO C++17 does not allow dynamic exception specifications 38 | char **ncomments) throw (error_c); | ^~~~~ r_srt.cpp:65:63: error: ISO C++17 does not allow dynamic exception specifications 65 | range_t *nrange, char **ncomments) throw (error_c) { | ^~~~~ r_srt.cpp: In constructor ‘srt_reader_c::srt_reader_c(char*, audio_sync_t*, range_t*, char**)’: r_srt.cpp:67:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 67 | throw error_c("srt_reader: Could not open source file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_srt.cpp:69:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 69 | throw error_c("srt_reader: Source is not a valid SRT file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:656: r_srt.o] Error 1 In file included from ogmmerge.cpp:29: queue.h:39:11: error: ISO C++17 does not allow dynamic exception specifications 39 | q_c() throw (error_c); | ^~~~~ In file included from ogmmerge.cpp:30: r_ogm.h:65:33: error: ISO C++17 does not allow dynamic exception specifications 65 | char *nfourcc) throw (error_c); | ^~~~~ In file included from r_avi.h:31, from ogmmerge.cpp:31: p_video.h:38:59: error: ISO C++17 does not allow dynamic exception specifications 38 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ In file included from ogmmerge.cpp:31: r_avi.h:70:34: error: ISO C++17 does not allow dynamic exception specifications 70 | char* nav_seek) throw (error_c); | ^~~~~ In file included from r_wav.h:31, from ogmmerge.cpp:32: p_pcm.h:40:57: error: ISO C++17 does not allow dynamic exception specifications 40 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ In file included from ogmmerge.cpp:32: r_wav.h:44:36: error: ISO C++17 does not allow dynamic exception specifications 44 | char **ncomments) throw (error_c); | ^~~~~ In file included from r_srt.h:27, from ogmmerge.cpp:33: p_textsubs.h:33:45: error: ISO C++17 does not allow dynamic exception specifications 33 | char **ncomments) throw (error_c); | ^~~~~ In file included from ogmmerge.cpp:33: r_srt.h:38:36: error: ISO C++17 does not allow dynamic exception specifications 38 | char **ncomments) throw (error_c); | ^~~~~ In file included from r_mp3.h:31, from ogmmerge.cpp:34: p_mp3.h:43:57: error: ISO C++17 does not allow dynamic exception specifications 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ In file included from ogmmerge.cpp:34: r_mp3.h:43:36: error: ISO C++17 does not allow dynamic exception specifications 43 | char **ncomments) throw (error_c); | ^~~~~ In file included from r_ac3.h:26, from ogmmerge.cpp:35: p_ac3.h:43:57: error: ISO C++17 does not allow dynamic exception specifications 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ In file included from ogmmerge.cpp:35: r_ac3.h:39:36: error: ISO C++17 does not allow dynamic exception specifications 39 | char **ncomments) throw (error_c); | ^~~~~ In file included from ogmmerge.cpp:36: r_microdvd.h:38:41: error: ISO C++17 does not allow dynamic exception specifications 38 | char **ncomments) throw (error_c); | ^~~~~ ogmmerge.cpp:85:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 85 | {{"---", TYPEUNKNOWN, ""}, | ^~~~~ ogmmerge.cpp:85:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 85 | {{"---", TYPEUNKNOWN, ""}, | ^~~~~~~~~~~ ogmmerge.cpp:86:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 86 | {"demultiplexers:", -1, ""}, | ^~~~~~~~~~~~~~~~~ ogmmerge.cpp:86:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 86 | {"demultiplexers:", -1, ""}, | ^~ ogmmerge.cpp:87:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 87 | {"ogg", TYPEOGM, "general OGG media stream, Vorbis audio embedded in OGG"}, | ^~~~~ ogmmerge.cpp:87:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 87 | {"ogg", TYPEOGM, "general OGG media stream, Vorbis audio embedded in OGG"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:88:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 88 | {"avi", TYPEAVI, "AVI (Audio/Video Interleaved)"}, | ^~~~~ ogmmerge.cpp:88:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 88 | {"avi", TYPEAVI, "AVI (Audio/Video Interleaved)"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:89:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 89 | {"wav", TYPEWAV, "WAVE (uncompressed PCM)"}, | ^~~~~ ogmmerge.cpp:89:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 89 | {"wav", TYPEWAV, "WAVE (uncompressed PCM)"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:90:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 90 | {"srt", TYPEWAV, "SRT text subtitles"}, | ^~~~~ ogmmerge.cpp:90:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 90 | {"srt", TYPEWAV, "SRT text subtitles"}, | ^~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:91:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 91 | {" ", TYPEMICRODVD, "MicroDVD text subtitles"}, | ^~~~~ ogmmerge.cpp:91:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 91 | {" ", TYPEMICRODVD, "MicroDVD text subtitles"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:95:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 95 | {"mp3", TYPEMP3, "MPEG1 layer III audio (CBR and VBR/ABR)"}, | ^~~~~ ogmmerge.cpp:95:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 95 | {"mp3", TYPEMP3, "MPEG1 layer III audio (CBR and VBR/ABR)"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:96:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 96 | {"ac3", TYPEAC3, "A/52 (aka AC3)"}, | ^~~~~ ogmmerge.cpp:96:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 96 | {"ac3", TYPEAC3, "A/52 (aka AC3)"}, | ^~~~~~~~~~~~~~~~ ogmmerge.cpp:97:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 97 | {"output modules:", -1, ""}, | ^~~~~~~~~~~~~~~~~ ogmmerge.cpp:97:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 97 | {"output modules:", -1, ""}, | ^~ ogmmerge.cpp:98:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 98 | {" ", -1, "Vorbis audio"}, | ^~~~~ ogmmerge.cpp:98:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 98 | {" ", -1, "Vorbis audio"}, | ^~~~~~~~~~~~~~ ogmmerge.cpp:99:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 99 | {" ", -1, "Video (not MPEG1/2)"}, | ^~~~~ ogmmerge.cpp:99:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 99 | {" ", -1, "Video (not MPEG1/2)"}, | ^~~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:100:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 100 | {" ", -1, "uncompressed PCM audio"}, | ^~~~~ ogmmerge.cpp:100:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 100 | {" ", -1, "uncompressed PCM audio"}, | ^~~~~~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:101:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 101 | {" ", -1, "text subtitles"}, | ^~~~~ ogmmerge.cpp:101:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 101 | {" ", -1, "text subtitles"}, | ^~~~~~~~~~~~~~~~ ogmmerge.cpp:105:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 105 | {" ", -1, "MP3 audio"}, | ^~~~~ ogmmerge.cpp:105:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 105 | {" ", -1, "MP3 audio"}, | ^~~~~~~~~~~ ogmmerge.cpp:106:5: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 106 | {" ", -1, "AC3 audio"}, | ^~~~~ ogmmerge.cpp:106:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 106 | {" ", -1, "AC3 audio"}, | ^~~~~~~~~~~ ogmmerge.cpp: In function ‘int main(int, char**)’: ogmmerge.cpp:973:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 973 | if ((result = write_ogg_page(mpage, "header ", file)) != 0) | ^~~~~~~~~ ogmmerge.cpp:1009:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1009 | if ((result = write_ogg_page(mpage, "comment ", file)) != 0) | ^~~~~~~~~~ ogmmerge.cpp:1071:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1071 | if ((result = write_ogg_page(mpage, "", winner)) != 0) | ^~ ogmmerge.cpp:935:7: warning: ignoring return value of ‘int nice(int)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 935 | nice(2); | ~~~~^~~ make[1]: *** [Makefile:656: ogmmerge.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5' make: *** [Makefile:715: all-recursive] Error 1 * ERROR: media-sound/ogmtools-1.5-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-sound/ogmtools-1.5-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-sound/ogmtools-1.5-r2::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-sound/ogmtools-1.5-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/ogmtools-1.5-r2/temp/environment'. * Working directory: '/var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5' * S: '/var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5'