Cook: libav 0.6.1 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libunistring-0.9.10-i486 Installing (pkg/local): libidn2-2.1.0-i486 Installing (pkg/local): libcurl-7.63.0-i486 Installing (pkg/local): libpcre2-8-10.31-i486 Installing (pkg/local): git-2.21.0-i486 Installing (pkg/local): coreutils-file-format-8.32-i486 Installing (pkg/local): tslib-1.18-i486 Installing (pkg/local): sdl-1.2.15-i486 Installing (pkg/local): tslib-dev-1.18-any Installing (pkg/local): libxau-1.0.8-i486 Installing (pkg/local): libxdmcp-1.1.2-i486 Installing (pkg/local): libxcb-1.13.1-i486 Installing (pkg/local): libx11-1.6.7-i486 Installing (pkg/local): xorgproto-2018.4-any Installing (pkg/local): libxau-dev-1.0.8-any Installing (pkg/local): libxdmcp-dev-1.1.2-any Installing (pkg/local): libxcb-dev-1.13.1-any Installing (pkg/local): libx11-dev-1.6.7-any Installing (pkg/local): sdl-dev-1.2.15-i486 Installing (pkg/local): faac-1.29.9.2-i486 Installing (pkg/local): faac-dev-1.29.9.2-any Installing (pkg/local): faad2-2.9.1-i486 Installing (pkg/local): faad2-dev-2.9.1-any Installing (pkg/local): lame-3.100-i486 Installing (pkg/local): lame-dev-3.100-any Installing (pkg/local): dbus-1.12.18-i486 Installing (pkg/local): util-linux-smartcols-2.33.1-i486 Installing (pkg/local): util-linux-mount-2.33.1-i486 Installing (pkg/local): util-linux-uuid-2.33.1-i486 Installing (pkg/local): util-linux-blkid-2.33.1-i486 Installing (pkg/local): eudev-3.2.9-i486 Installing (pkg/local): libusb-1.0.22-i486 Installing (pkg/local): libusb-compat-0.1.5-i486 Installing (pkg/local): libxml2-2.9.9-i486 Installing (pkg/local): neon-0.30.2-i486 Installing (pkg/local): nut-2.6.5-i486 Installing (pkg/local): opencore-amr-0.1.3-i486 Installing (pkg/local): opencore-amr-dev-0.1.3-any Installing (pkg/local): openjpeg-1.5.2-i486 Installing (pkg/local): liblcms2-2.9-i486 Installing (pkg/local): libpng-1.6.36-i486 Installing (pkg/local): libjpeg-turbo-2.0.1-i486 Installing (pkg/local): libtiff-4.0.10-i486 Installing (pkg/local): openjpeg-tools-1.5.2-i486 Installing (pkg/local): openjpeg-dev-1.5.2-any Installing (pkg/local): libdb-6.2.32-i486 Installing (pkg/local): libgpg-error-1.34-i486 Installing (pkg/local): libgcrypt-1.8.4-i486 Installing (pkg/local): libgdbm-1.18.1-i486 Installing (pkg/local): perl-core-5.28.1-i486 Installing (pkg/local): perl-5.28.1-i486 Installing (pkg/local): netatalk-3.1.11-i486 .-------------------------------------------------. | To start netatalk server you can run: | | | | /etc/init.d/netatalk start | | | | Or add netatalk to RUN_DAEMONS in /etc/rcS.conf | '-------------------------------------------------' Installing (pkg/local): netatalk-dev-3.1.11-i486 Installing (pkg/local): orc-0.4.26-i486 Installing (pkg/local): schroedinger-1.0.11-i486 Installing (pkg/local): orc-dev-0.4.26-any Installing (pkg/local): schroedinger-dev-1.0.11-any Installing (pkg/local): speex-1.2.0-i486 Installing (pkg/local): libogg-1.3.3-i486 Installing (pkg/local): speexdsp-1.2rc3-i486 Installing (pkg/local): speex-bin-1.2.0-i486 Installing (pkg/local): speex-dev-1.2.0-any Installing (pkg/local): libtheora-1.1.1-i486 Installing (pkg/local): libtheora-enc-1.1.1-i486 Installing (pkg/local): libogg-dev-1.3.3-i486 Installing (pkg/local): libtheora-dev-1.1.1-any Installing (pkg/local): libvorbis-1.3.6-i486 Installing (pkg/local): libvorbis-dev-1.3.6-any Installing (pkg/local): libvpx-1.7.0-i486 Installing (pkg/local): libvpx-dev-1.7.0-any Installing (pkg/local): x264-20181013-i486 Installing (pkg/local): xvidcore-1.3.3-i486 Installing (pkg/local): xvidcore-dev-1.3.3-any Installing (pkg/local): zlib-dev-1.2.11-any Extracting source archive "libav-0.6.1.tar.bz2" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed install prefix /usr source path /home/slitaz/wok/libav/source/libav-0.6.1 C compiler gcc .align is power-of-two no ARCH x86 (i486) big-endian no runtime cpu detection yes yasm no MMX enabled no MMX2 enabled no 3DNow! enabled no 3DNow! extended enabled no SSE enabled no SSSE3 enabled no CMOV enabled no CMOV is fast no EBX available yes EBP available no 10 operands supported yes gprof enabled no debug symbols no strip symbols yes optimizations yes static yes shared yes postprocessing support yes new filter support yes filters using lavformat yes network support yes threading support pthreads SDL support yes Sun medialib support no AVISynth enabled no libdc1394 support no libdirac enabled no libfaac enabled no libfaad enabled no libfaad dlopened no libgsm enabled no libmp3lame enabled no libnut enabled no libopencore-amrnb support no libopencore-amrwb support no libopenjpeg enabled no librtmp enabled no libschroedinger enabled no libspeex enabled no libtheora enabled no libvorbis enabled no libvpx enabled no libx264 enabled no libxvid enabled no zlib enabled yes bzlib enabled no Enabled decoders: aac dxa nuv aasc eac3 pam ac3 eacmv pbm adpcm_4xm eamad pcm_alaw adpcm_adx eatgq pcm_bluray adpcm_ct eatgv pcm_dvd adpcm_ea eatqi pcm_f32be adpcm_ea_maxis_xa eightbps pcm_f32le adpcm_ea_r1 eightsvx_exp pcm_f64be adpcm_ea_r2 eightsvx_fib pcm_f64le adpcm_ea_r3 escape124 pcm_mulaw adpcm_ea_xas ffv1 pcm_s16be adpcm_g726 ffvhuff pcm_s16le adpcm_ima_amv flac pcm_s16le_planar adpcm_ima_dk3 flashsv pcm_s24be adpcm_ima_dk4 flic pcm_s24daud adpcm_ima_ea_eacs flv pcm_s24le adpcm_ima_ea_sead fourxm pcm_s32be adpcm_ima_iss fraps pcm_s32le adpcm_ima_qt frwu pcm_s8 adpcm_ima_smjpeg gif pcm_u16be adpcm_ima_wav h261 pcm_u16le adpcm_ima_ws h263 pcm_u24be adpcm_ms h263i pcm_u24le adpcm_sbpro_2 h264 pcm_u32be adpcm_sbpro_3 huffyuv pcm_u32le adpcm_sbpro_4 idcin pcm_u8 adpcm_swf iff_byterun1 pcm_zork adpcm_thp iff_ilbm pcx adpcm_xa imc pgm adpcm_yamaha indeo2 pgmyuv alac indeo3 pgssub als indeo5 png amrnb interplay_dpcm ppm amv interplay_video ptx anm jpegls qcelp ape kgv1 qdm2 asv1 kmvc qdraw asv2 loco qpeg atrac1 mace3 qtrle atrac3 mace6 r210 aura mdec ra_144 aura2 mimic ra_288 avs mjpeg rawvideo bethsoftvid mjpegb rl2 bfi mlp roq bink mmvideo roq_dpcm binkaudio_dct motionpixels rpza binkaudio_rdft mp1 rv10 bmp mp2 rv20 c93 mp3 rv30 cavs mp3adu rv40 cdgraphics mp3on4 sgi cinepak mpc7 shorten cljr mpc8 sipr cook mpeg1video smackaud cscd mpeg2video smacker cyuv mpeg4 smc dca mpegvideo snow dnxhd msmpeg4v1 sol_dpcm dpx msmpeg4v2 sonic dsicinaudio msmpeg4v3 sp5x dsicinvideo msrle sunrast dvbsub msvideo1 svq1 dvdsub mszh svq3 dvvideo nellymoser targa theora vb wmav1 thp vc1 wmav2 tiertexseqvideo vcr1 wmavoice tiff vmdaudio wmv1 tmv vmdvideo wmv2 truehd vmnc wmv3 truemotion1 vorbis wnv1 truemotion2 vp3 ws_snd1 truespeech vp5 xan_dpcm tscc vp6 xan_wc3 tta vp6a xl twinvq vp6f xsub txd vqa yop ulti wavpack zlib v210 wmapro zmbv v210x Enabled encoders: aac mp2 pcm_u32le ac3 mpeg1video pcm_u8 adpcm_adx mpeg2video pcm_zork adpcm_g726 mpeg4 pcx adpcm_ima_qt msmpeg4v1 pgm adpcm_ima_wav msmpeg4v2 pgmyuv adpcm_ms msmpeg4v3 png adpcm_swf nellymoser ppm adpcm_yamaha pam qtrle alac pbm rawvideo asv1 pcm_alaw roq asv2 pcm_f32be roq_dpcm bmp pcm_f32le rv10 dnxhd pcm_f64be rv20 dvbsub pcm_f64le sgi dvdsub pcm_mulaw snow dvvideo pcm_s16be sonic ffv1 pcm_s16le sonic_ls ffvhuff pcm_s24be svq1 flac pcm_s24daud targa flashsv pcm_s24le tiff flv pcm_s32be v210 gif pcm_s32le wmav1 h261 pcm_s8 wmav2 h263 pcm_u16be wmv1 h263p pcm_u16le wmv2 huffyuv pcm_u24be xsub jpegls pcm_u24le zlib ljpeg pcm_u32be zmbv mjpeg Enabled hwaccels: Enabled parsers: aac dvdsub mpeg4video ac3 h261 mpegaudio cavsvideo h263 mpegvideo dca h264 pnm dirac mjpeg vc1 dnxhd mlp vp3 dvbsub Enabled demuxers: aac image2pipe pcm_u16le ac3 ingenient pcm_u24be aea ipmovie pcm_u24le aiff iss pcm_u32be amr iv8 pcm_u32le anm lmlm4 pcm_u8 apc m4v pva ape matroska qcp asf mjpeg r3d ass mlp rawvideo au mm rl2 avi mmf rm avs mov roq bethsoftvid mp3 rpl bfi mpc rtsp bink mpc8 sdp c93 mpegps segafilm caf mpegts shorten cavsvideo mpegtsraw siff cdg mpegvideo smacker daud msnwc_tcp sol dirac mtv sox dnxhd mvi str dsicin mxf swf dts nc thp dv nsv tiertexseq dxa nut tmv ea nuv truehd ea_cdata ogg tta eac3 oma txd ffm pcm_alaw vc1 filmstrip pcm_f32be vc1t flac pcm_f32le vmd flic pcm_f64be voc flv pcm_f64le vqf fourxm pcm_mulaw w64 gsm pcm_s16be wav gxf pcm_s16le wc3 h261 pcm_s24be wsaud h263 pcm_s24le wsvqa h264 pcm_s32be wv idcin pcm_s32le xa iff pcm_s8 yop image2 pcm_u16be yuv4mpegpipe Enabled muxers: ac3 matroska pcm_s16le adts matroska_audio pcm_s24be aiff mjpeg pcm_s24le amr mlp pcm_s32be asf mmf pcm_s32le asf_stream mov pcm_s8 ass mp2 pcm_u16be au mp3 pcm_u16le avi mp4 pcm_u24be avm2 mpeg1system pcm_u24le crc mpeg1vcd pcm_u32be daud mpeg1video pcm_u32le dirac mpeg2dvd pcm_u8 dnxhd mpeg2svcd psp dts mpeg2video rawvideo dv mpeg2vob rm eac3 mpegts roq ffm mpjpeg rtp filmstrip mxf rtsp flac mxf_d10 sox flv null spdif framecrc nut swf gif ogg tg2 gxf pcm_alaw tgp h261 pcm_f32be truehd h263 pcm_f32le vc1t h264 pcm_f64be voc image2 pcm_f64le wav image2pipe pcm_mulaw webm ipod pcm_s16be yuv4mpegpipe m4v Enabled protocols: concat rtmp rtmpte file rtmpe rtp gopher rtmps tcp http rtmpt udp pipe Enabled filters: aspect null scale crop nullsink slicify format nullsrc unsharp noformat pixelaspect vflip Enabled bsfs: aac_adtstoasc mjpega_dump_header noise dump_extradata mov2textsub remove_extradata h264_mp4toannexb mp3_header_compress text2movsub imx_dump_header mp3_header_decompress Enabled indevs: dv1394 oss v4l2 Enabled outdevs: oss License: nonfree and unredistributable Creating config.mak and config.h... CC libavdevice/alldevices.o CC libavdevice/avdevice.o CC libavdevice/dv1394.o CC libavdevice/oss_audio.o CC libavdevice/v4l2.o CC libavformat/4xm.o CC libavformat/adtsenc.o libavformat/4xm.c: In function 'fourxm_read_packet': libavformat/4xm.c:242:24: warning: variable 'out_size' set but not used [-Wunused-but-set-variable] unsigned int size, out_size; ^~~~~~~~ CC libavformat/aea.o In file included from libavformat/adtsenc.c:23: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavformat/aiffdec.o CC libavformat/aiffenc.o CC libavformat/allformats.o CC libavformat/amr.o CC libavformat/anm.o CC libavformat/apc.o CC libavformat/ape.o CC libavformat/apetag.o CC libavformat/asf.o CC libavformat/asfcrypt.o CC libavformat/asfdec.o CC libavformat/asfenc.o libavformat/apetag.c: In function 'ape_tag_read_field': libavformat/apetag.c:38:20: warning: variable 'flags' set but not used [-Wunused-but-set-variable] uint32_t size, flags; ^~~~~ CC libavformat/assdec.o In file included from ./libavcodec/mpegaudio.h:30, from libavformat/asfdec.c:26: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavformat/assenc.o libavformat/asfdec.c: In function 'asf_read_header': libavformat/asfdec.c:380:21: warning: 'AVPaletteControl' is deprecated [-Wdeprecated-declarations] st->codec->palctrl = av_mallocz(sizeof(AVPaletteControl)); ^~ In file included from ./libavcodec/mpegaudio.h:29, from libavformat/asfdec.c:26: ./libavcodec/avcodec.h:2808:16: note: declared here typedef struct AVPaletteControl { ^~~~~~~~~~~~~~~~ libavformat/asfdec.c:242:22: warning: variable 'total_size' set but not used [-Wunused-but-set-variable] uint64_t total_size; ^~~~~~~~~~ libavformat/asfdec.c:455:53: warning: variable 'value_type' set but not used [-Wunused-but-set-variable] int n, stream_num, name_len, value_len, value_type, value_num; ^~~~~~~~~~ libavformat/asfdec.c:479:22: warning: variable 'ext_d' set but not used [-Wunused-but-set-variable] uint32_t ext_d, leak_rate, stream_num; ^~~~~ libavformat/asfdec.c:521:21: warning: variable 'v2' set but not used [-Wunused-but-set-variable] int v1, v2; ^~ libavformat/asfdec.c:521:17: warning: variable 'v1' set but not used [-Wunused-but-set-variable] int v1, v2; ^~ libavformat/asfdec.c: In function 'asf_read_frame_header': libavformat/asfdec.c:735:18: warning: variable 'ts1' set but not used [-Wunused-but-set-variable] int64_t ts0, ts1; ^~~ CC libavformat/au.o CC libavformat/audiointerleave.o CC libavformat/avc.o CC libavformat/avi.o CC libavformat/avidec.o CC libavformat/avienc.o CC libavformat/avio.o CC libavformat/aviobuf.o CC libavformat/avlanguage.o libavformat/avidec.c: In function 'avi_read_header': libavformat/avidec.c:523:25: warning: 'AVPaletteControl' is deprecated [-Wdeprecated-declarations] st->codec->palctrl = av_mallocz(sizeof(AVPaletteControl)); ^~ In file included from libavformat/avformat.h:56, from libavformat/avidec.c:27: ./libavcodec/avcodec.h:2808:16: note: declared here typedef struct AVPaletteControl { ^~~~~~~~~~~~~~~~ libavformat/avidec.c:269:49: warning: variable 'bit_rate' set but not used [-Wunused-but-set-variable] int codec_type, stream_index, frame_period, bit_rate; ^~~~~~~~ libavformat/aviobuf.c: In function 'url_fdopen': libavformat/aviobuf.c:581:23: warning: passing argument 6 of 'init_put_byte' from incompatible pointer type [-Wincompatible-pointer-types] url_read, url_write, url_seek) < 0) { ^~~~~~~~ libavformat/aviobuf.c:47:25: note: expected 'int (*)(void *, uint8_t *, int)' {aka 'int (*)(void *, unsigned char *, int)'} but argument is of type 'int (*)(URLContext *, unsigned char *, int)' {aka 'int (*)(struct URLContext *, unsigned char *, int)'} int (*read_packet)(void *opaque, uint8_t *buf, int buf_size), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavformat/aviobuf.c:581:33: warning: passing argument 7 of 'init_put_byte' from incompatible pointer type [-Wincompatible-pointer-types] url_read, url_write, url_seek) < 0) { ^~~~~~~~~ libavformat/aviobuf.c:48:25: note: expected 'int (*)(void *, uint8_t *, int)' {aka 'int (*)(void *, unsigned char *, int)'} but argument is of type 'int (*)(URLContext *, unsigned char *, int)' {aka 'int (*)(struct URLContext *, unsigned char *, int)'} int (*write_packet)(void *opaque, uint8_t *buf, int buf_size), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavformat/aviobuf.c:581:44: warning: passing argument 8 of 'init_put_byte' from incompatible pointer type [-Wincompatible-pointer-types] url_read, url_write, url_seek) < 0) { ^~~~~~~~ libavformat/aviobuf.c:49:29: note: expected 'int64_t (*)(void *, int64_t, int)' {aka 'long long int (*)(void *, long long int, int)'} but argument is of type 'int64_t (*)(URLContext *, int64_t, int)' {aka 'long long int (*)(struct URLContext *, long long int, int)'} int64_t (*seek)(void *opaque, int64_t offset, int whence)) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavformat/avs.o libavformat/aviobuf.c: In function 'url_resetbuf': libavformat/aviobuf.c:618:58: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if ((flags & URL_RDWR) || (h && h->flags != flags && !h->flags & URL_RDWR)) ^~~~~~~~~ CC libavformat/bethsoftvid.o CC libavformat/bfi.o CC libavformat/bink.o CC libavformat/c93.o CC libavformat/caf.o CC libavformat/cafdec.o CC libavformat/cdg.o CC libavformat/concat.o CC libavformat/crcenc.o CC libavformat/cutils.o CC libavformat/daud.o CC libavformat/dsicin.o CC libavformat/dv.o CC libavformat/dvenc.o CC libavformat/dxa.o CC libavformat/eacdata.o CC libavformat/electronicarts.o CC libavformat/ffmdec.o CC libavformat/ffmenc.o CC libavformat/file.o CC libavformat/filmstripdec.o CC libavformat/filmstripenc.o CC libavformat/flacdec.o CC libavformat/flacenc.o CC libavformat/flacenc_header.o CC libavformat/flic.o CC libavformat/flvdec.o CC libavformat/flvenc.o CC libavformat/framecrcenc.o In file included from ./libavcodec/mpeg4audio.h:26, from libavformat/flvdec.c:29: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavformat/gif.o CC libavformat/gopher.o CC libavformat/gxf.o CC libavformat/gxfenc.o libavformat/gif.c: In function 'gif_write_video': libavformat/gif.c:300:13: warning: variable 'delay' set but not used [-Wunused-but-set-variable] int64_t delay; ^~~~~ CC libavformat/http.o CC libavformat/httpauth.o CC libavformat/id3v1.o CC libavformat/id3v2.o CC libavformat/idcin.o libavformat/http.c: In function 'http_open_cnx': libavformat/http.c:264:18: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 1019 and 1020 [-Wformat-truncation=] "%s %s HTTP/1.1\r\n" ^~ In file included from /usr/include/stdio.h:873, from libavformat/avformat.h:55, from libavformat/http.c:23: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 100 or more bytes (assuming 5247) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavformat/idcin.c:90:5: warning: 'AVPaletteControl' is deprecated [-Wdeprecated-declarations] AVPaletteControl palctrl; ^~~~~~~~~~~~~~~~ In file included from libavformat/avformat.h:56, from libavformat/idcin.c:72: ./libavcodec/avcodec.h:2808:16: note: declared here typedef struct AVPaletteControl { ^~~~~~~~~~~~~~~~ CC libavformat/idroq.o CC libavformat/iff.o CC libavformat/img2.o CC libavformat/ipmovie.o CC libavformat/isom.o CC libavformat/iss.o CC libavformat/iv8.o CC libavformat/lmlm4.o libavformat/ipmovie.c:119:5: warning: 'AVPaletteControl' is deprecated [-Wdeprecated-declarations] AVPaletteControl palette_control; ^~~~~~~~~~~~~~~~ In file included from libavformat/avformat.h:56, from libavformat/ipmovie.c:36: ./libavcodec/avcodec.h:2808:16: note: declared here typedef struct AVPaletteControl { ^~~~~~~~~~~~~~~~ CC libavformat/matroska.o CC libavformat/matroskadec.o CC libavformat/matroskaenc.o CC libavformat/metadata.o CC libavformat/metadata_compat.o In file included from ./libavcodec/mpeg4audio.h:26, from libavformat/matroskadec.c:39: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavformat/mm.o CC libavformat/mmf.o In file included from ./libavcodec/mpeg4audio.h:26, from libavformat/matroskaenc.c:31: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavformat/matroskadec.c: In function 'matroska_read_seek': libavformat/matroskadec.c:1848:43: warning: comparison of constant '48' with boolean expression is always true [-Wbool-compare] && !tracks[i].stream->discard != AVDISCARD_ALL) { ^~ libavformat/matroskadec.c:1848:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] libavformat/matroskadec.c:1848:16: note: add parentheses around left hand side expression to silence this warning && !tracks[i].stream->discard != AVDISCARD_ALL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ ( ) libavformat/metadata.c: In function 'av_metadata_set2': libavformat/metadata.c:72:37: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] m->elems[m->count].key = key; ^ libavformat/metadata.c:76:37: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] m->elems[m->count].value= value; ^ libavformat/metadata_compat.c: In function 'ff_metadata_mux_compat': libavformat/metadata_compat.c:118:39: warning: the address of 'number' will always evaluate as 'true' [-Waddress] if(s->key) FILL_METADATA(s, key, number) } ^~~~~~ libavformat/metadata_compat.c:111:9: note: in definition of macro 'FILL_METADATA' if (value && *value && !av_metadata_get(s->metadata, #key, NULL, 0)) \ ^~~~~ libavformat/metadata_compat.c:132:5: note: in expansion of macro 'FILL_METADATA_INT' FILL_METADATA_INT(ctx, year); ^~~~~~~~~~~~~~~~~ libavformat/metadata_compat.c:118:39: warning: the address of 'number' will always evaluate as 'true' [-Waddress] if(s->key) FILL_METADATA(s, key, number) } ^~~~~~ libavformat/metadata_compat.c:111:9: note: in definition of macro 'FILL_METADATA' if (value && *value && !av_metadata_get(s->metadata, #key, NULL, 0)) \ ^~~~~ libavformat/metadata_compat.c:133:5: note: in expansion of macro 'FILL_METADATA_INT' FILL_METADATA_INT(ctx, track); ^~~~~~~~~~~~~~~~~ libavformat/mmf.c: In function 'mmf_read_header': libavformat/mmf.c:188:13: warning: variable 'file_size' set but not used [-Wunused-but-set-variable] int64_t file_size, size; ^~~~~~~~~ libavformat/mmf.c: In function 'mmf_read_packet': libavformat/mmf.c:265:15: warning: variable 'st' set but not used [-Wunused-but-set-variable] AVStream *st; ^~ CC libavformat/mov.o CC libavformat/movenc.o CC libavformat/movenchint.o CC libavformat/mp3.o In file included from ./libavcodec/mpeg4audio.h:26, from libavformat/mov.c:34: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavformat/mov.c: In function 'mov_read_hdlr': libavformat/mov.c:426:14: warning: variable 'ctype' set but not used [-Wunused-but-set-variable] uint32_t ctype; ^~~~~ In file included from libavformat/movenc.c:30: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from ./libavcodec/mpegaudio.h:30, from libavformat/mp3.c:31: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavformat/movenc.c: In function 'mov_write_udta_tag': libavformat/movenc.c:1578:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ret < 0) ^~ libavformat/movenc.c:1581:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (mov->mode & MODE_3GP) { ^~ CC libavformat/mpc.o CC libavformat/mpc8.o In file included from libavformat/mpc.c:22: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavformat/mpc8.c:22: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavformat/mpeg.o CC libavformat/mpegenc.o libavformat/mpegenc.c: In function 'flush_packet': libavformat/mpegenc.c:924:83: warning: passing argument 4 of 'av_fifo_generic_read' from incompatible pointer type [-Wincompatible-pointer-types] av_fifo_generic_read(stream->fifo, ctx->pb, payload_size - stuffing_size, &put_buffer); ^~~~~~~~~~~ In file included from libavformat/mpegenc.c:22: ./libavutil/fifo.h:77:76: note: expected 'void (*)(void *, void *, int)' but argument is of type 'void (*)(ByteIOContext *, const unsigned char *, int)' {aka 'void (*)(struct *, const unsigned char *, int)'} int av_fifo_generic_read(AVFifoBuffer *f, void *dest, int buf_size, void (*func)(void*, void*, int)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ CC libavformat/mpegts.o CC libavformat/mpegtsenc.o In file included from ./libavcodec/mpegvideo.h:32, from libavformat/mpegtsenc.c:24: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavformat/mpjpeg.o CC libavformat/msnwc_tcp.o CC libavformat/mtv.o CC libavformat/mvi.o CC libavformat/mxf.o CC libavformat/mxfdec.o CC libavformat/mxfenc.o CC libavformat/ncdec.o CC libavformat/nsvdec.o libavformat/nsvdec.c: In function 'nsv_parse_NSVf_header': libavformat/nsvdec.c:282:18: warning: variable 'file_size' set but not used [-Wunused-but-set-variable] unsigned int file_size, size; ^~~~~~~~~ libavformat/nsvdec.c: In function 'nsv_read_header': libavformat/nsvdec.c:522:12: warning: variable 'err' set but not used [-Wunused-but-set-variable] int i, err; ^~~ libavformat/nsvdec.c: In function 'nsv_read_chunk': libavformat/nsvdec.c:562:14: warning: variable 'auxtag' set but not used [-Wunused-but-set-variable] uint32_t auxtag; ^~~~~~ CC libavformat/nut.o CC libavformat/nutdec.o CC libavformat/nutenc.o libavformat/nutdec.c: In function 'get_packetheader': libavformat/nutdec.c:98:41: warning: passing argument 2 of 'ff_crc04C11DB7_update' from incompatible pointer type [-Wincompatible-pointer-types] startcode= ff_crc04C11DB7_update(0, &startcode, 8); ^~~~~~~~~~ In file included from libavformat/avformat.h:58, from libavformat/nut.h:28, from libavformat/nutdec.c:27: libavformat/avio.h:511:76: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'uint64_t *' {aka 'long long unsigned int *'} unsigned long ff_crc04C11DB7_update(unsigned long checksum, const uint8_t *buf, ~~~~~~~~~~~~~~~^~~ libavformat/nutdec.c: In function 'decode_main_header': libavformat/nutdec.c:276:39: warning: passing argument 2 of 'get_buffer' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] get_buffer(bc, nut->header[i], nut->header_len[i]); ~~~~~~~~~~~^~~ In file included from libavformat/avformat.h:58, from libavformat/nut.h:28, from libavformat/nutdec.c:27: libavformat/avio.h:381:49: note: expected 'unsigned char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} int get_buffer(ByteIOContext *s, unsigned char *buf, int size); ~~~~~~~~~~~~~~~^~~ libavformat/nutdec.c:190:13: warning: variable 'tmp_match' set but not used [-Wunused-but-set-variable] int64_t tmp_match; ^~~~~~~~~ CC libavformat/nuv.o CC libavformat/oggdec.o libavformat/oggdec.c: In function 'ogg_read_page': libavformat/oggdec.c:205:14: warning: variable 'crc' set but not used [-Wunused-but-set-variable] uint32_t crc; ^~~ libavformat/oggdec.c:204:14: warning: variable 'seq' set but not used [-Wunused-but-set-variable] uint32_t seq; ^~~ CC libavformat/oggenc.o CC libavformat/oggparsedirac.o In file included from libavformat/oggparsedirac.c:21: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavformat/oggparseflac.o In file included from libavformat/oggparseflac.c:22: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavformat/oggparseogm.o CC libavformat/oggparseskeleton.o CC libavformat/oggparsespeex.o In file included from libavformat/oggparseogm.c:27: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavformat/oggparsespeex.c:28: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavformat/oggparseogm.c: In function 'ogm_header': libavformat/oggparseogm.c:42:14: warning: variable 'default_len' set but not used [-Wunused-but-set-variable] uint32_t default_len; ^~~~~~~~~~~ CC libavformat/oggparsetheora.o CC libavformat/oggparsevorbis.o CC libavformat/oma.o In file included from libavformat/oggparsetheora.c:27: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavformat/oggparsevorbis.c:28: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavformat/options.o CC libavformat/os_support.o CC libavformat/psxstr.o In file included from /usr/include/time.h:25, from libavformat/avformat.h:54, from libavformat/os_support.c:28: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ CC libavformat/pva.o CC libavformat/qcp.o CC libavformat/r3d.o CC libavformat/raw.o libavformat/r3d.c: In function 'r3d_read_red1': libavformat/r3d.c:55:14: warning: variable 'tmp2' set but not used [-Wunused-but-set-variable] int tmp, tmp2; ^~~~ libavformat/r3d.c: In function 'r3d_read_reos': libavformat/r3d.c:142:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] int tmp; ^~~ libavformat/r3d.c: In function 'r3d_read_redv': libavformat/r3d.c:212:14: warning: variable 'tmp2' set but not used [-Wunused-but-set-variable] int tmp, tmp2; ^~~~ libavformat/r3d.c: In function 'r3d_read_reda': libavformat/r3d.c:266:14: warning: variable 'tmp2' set but not used [-Wunused-but-set-variable] int tmp, tmp2, samples, size; ^~~~ libavformat/r3d.c:266:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] int tmp, tmp2, samples, size; ^~~ CC libavformat/rdt.o In file included from ./libavcodec/ac3_parser.h:27, from libavformat/raw.c:24: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavformat/riff.o libavformat/raw.c: In function 'raw_read_header': libavformat/raw.c:72:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!st) ^~ libavformat/raw.c:75:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' id = s->iformat->value; ^~ CC libavformat/rl2.o CC libavformat/rm.o In file included from libavformat/rdt.c:36: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavformat/rdt.c: In function 'rdt_parse_packet': libavformat/rdt.c:307:28: warning: passing argument 2 of 'init_put_byte' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] init_put_byte(&pb, buf, len, 0, NULL, NULL, NULL, NULL); ^~~ In file included from libavformat/avformat.h:58, from libavformat/rdt.c:28: libavformat/avio.h:293:34: note: expected 'unsigned char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} unsigned char *buffer, ~~~~~~~~~~~~~~~^~~~~~ libavformat/rl2.c: In function 'rl2_read_header': libavformat/rl2.c:84:20: warning: variable 'encoding_method' set but not used [-Wunused-but-set-variable] unsigned short encoding_method; ^~~~~~~~~~~~~~~ libavformat/rl2.c:83:9: warning: variable 'data_size' set but not used [-Wunused-but-set-variable] int data_size; ^~~~~~~~~ CC libavformat/rmdec.o CC libavformat/rmenc.o CC libavformat/rpl.o libavformat/rmdec.c: In function 'ff_rm_read_mdpr_codecdata': libavformat/rmdec.c:304:18: warning: variable 'fps2' set but not used [-Wunused-but-set-variable] int fps, fps2; ^~~~ libavformat/rpl.c: In function 'rpl_read_packet': libavformat/rpl.c:302:30: warning: variable 'frame_flags' set but not used [-Wunused-but-set-variable] uint32_t frame_size, frame_flags; ^~~~~~~~~~~ CC libavformat/rtmppkt.o CC libavformat/rtmpproto.o CC libavformat/rtp.o libavformat/rtmpproto.c: In function 'get_packet': libavformat/rtmpproto.c:753:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] p=next; ^ CC libavformat/rtpdec.o CC libavformat/rtpdec_amr.o In file included from libavformat/rtpdec.c:25: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavformat/rtpdec.c: In function 'rtp_check_and_send_back_rr': libavformat/rtpdec.c:268:13: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result; ^~~~~~ CC libavformat/rtpdec_asf.o CC libavformat/rtpdec_h263.o CC libavformat/rtpdec_h264.o libavformat/rtpdec_asf.c: In function 'asfrtp_parse_packet': libavformat/rtpdec_asf.c:172:27: warning: passing argument 2 of 'init_put_byte' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] init_put_byte(pb, buf, len, 0, NULL, NULL, NULL, NULL); ^~~ In file included from libavformat/avformat.h:58, from libavformat/rtpdec_asf.h:25, from libavformat/rtpdec_asf.c:32: libavformat/avio.h:293:34: note: expected 'unsigned char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} unsigned char *buffer, ~~~~~~~~~~~~~~~^~~~~~ libavformat/rtpdec_asf.c:207:58: warning: passing argument 2 of 'url_close_dyn_buf' from incompatible pointer type [-Wincompatible-pointer-types] out_len = url_close_dyn_buf(asf->pktbuf, &asf->buf); ^~~~~~~~~ In file included from libavformat/avformat.h:58, from libavformat/rtpdec_asf.h:25, from libavformat/rtpdec_asf.c:32: libavformat/avio.h:509:51: note: expected 'uint8_t **' {aka 'unsigned char **'} but argument is of type 'char **' int url_close_dyn_buf(ByteIOContext *s, uint8_t **pbuffer); ~~~~~~~~~~^~~~~~~ CC libavformat/rtpdec_xiph.o libavformat/rmdec.c: In function 'ff_rm_parse_packet': libavformat/rmdec.c:636:11: warning: 'seq' may be used uninitialized in this function [-Wmaybe-uninitialized] *pseq = seq; ~~~~~~^~~~~ libavformat/rmdec.c:603:14: note: 'seq' was declared here int hdr, seq, pic_num, len2, pos; ^~~ In file included from libavformat/rtpdec_h264.c:41: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavformat/rtpenc.o libavformat/rmdec.c: In function 'rm_read_packet': libavformat/rmdec.c:876:17: warning: 'st' may be used uninitialized in this function [-Wmaybe-uninitialized] av_add_index_entry(st, pos, timestamp, 0, 0, AVINDEX_KEYFRAME); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavformat/rtpenc_aac.o CC libavformat/rtpenc_amr.o CC libavformat/rtpenc_h263.o CC libavformat/rtpenc_h264.o CC libavformat/rtpenc_mpv.o CC libavformat/rtpproto.o CC libavformat/rtsp.o CC libavformat/rtspenc.o In file included from ./libavcodec/mpegvideo.h:32, from libavformat/rtpenc_mpv.c:23: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavformat/sdp.o libavformat/rtpproto.c: In function 'rtp_open': libavformat/rtpproto.c:135:9: warning: variable 'is_output' set but not used [-Wunused-but-set-variable] is_output, ttl, ^~~~~~~~~ libavformat/rtsp.c: In function 'rtsp_parse_range': libavformat/rtsp.c:730:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] v = strtol(p, (char **)&p, 10); ^ libavformat/rtsp.c:734:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] v = strtol(p, (char **)&p, 10); ^ libavformat/rtsp.c: In function 'rtsp_parse_transport': libavformat/rtsp.c:819:41: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] th->ttl = strtol(p, (char **)&p, 10); ^ CC libavformat/seek.o libavformat/rtsp.c: In function 'ff_rtsp_send_cmd_with_content_async': libavformat/rtsp.c:1037:32: warning: passing argument 2 of 'url_write' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] url_write(rt->rtsp_hd, send_content, send_content_length); ^~~~~~~~~~~~ In file included from libavformat/avformat.h:58, from libavformat/rtsp.c:25: libavformat/avio.h:115:45: note: expected 'unsigned char *' but argument is of type 'const unsigned char *' int url_write(URLContext *h, unsigned char *buf, int size); ~~~~~~~~~~~~~~~^~~ CC libavformat/segafilm.o CC libavformat/sierravmd.o CC libavformat/siff.o CC libavformat/smacker.o CC libavformat/sol.o CC libavformat/soxdec.o libavformat/sol.c: In function 'sol_read_header': libavformat/sol.c:88:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size; ^~~~ CC libavformat/soxenc.o libavformat/smacker.c: In function 'smacker_read_packet': libavformat/smacker.c:236:9: warning: variable 'pos' set but not used [-Wunused-but-set-variable] int pos; ^~~ CC libavformat/spdif.o CC libavformat/swfdec.o In file included from ./libavcodec/aac_parser.h:28, from libavformat/spdif.c:46: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavformat/swfenc.o CC libavformat/tcp.o libavformat/swfenc.c: In function 'swf_write_video': libavformat/swfenc.c:424:63: warning: passing argument 4 of 'av_fifo_generic_read' from incompatible pointer type [-Wincompatible-pointer-types] av_fifo_generic_read(swf->audio_fifo, pb, frame_size, &put_buffer); ^~~~~~~~~~~ In file included from libavformat/swf.h:26, from libavformat/swfenc.c:25: ./libavutil/fifo.h:77:76: note: expected 'void (*)(void *, void *, int)' but argument is of type 'void (*)(ByteIOContext *, const unsigned char *, int)' {aka 'void (*)(struct *, const unsigned char *, int)'} int av_fifo_generic_read(AVFifoBuffer *f, void *dest, int buf_size, void (*func)(void*, void*, int)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ CC libavformat/thp.o CC libavformat/tiertexseq.o CC libavformat/tmv.o CC libavformat/tta.o In file included from libavformat/tta.c:22: ./libavcodec/get_bits.h: In function 'skip_bits': ./libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ ./libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavformat/txd.o CC libavformat/udp.o CC libavformat/utils.o In file included from /usr/include/time.h:25, from libavformat/avformat.h:54, from libavformat/udp.c:28: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ CC libavformat/vc1test.o CC libavformat/vc1testenc.o CC libavformat/voc.o libavformat/utils.c: In function 'ff_av_destruct_packet_nofree': libavformat/utils.c:288:5: warning: 'av_destruct_packet_nofree' is deprecated [-Wdeprecated-declarations] av_destruct_packet_nofree(pkt); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libavformat/avformat.h:56, from libavformat/utils.c:21: ./libavcodec/avcodec.h:2879:27: note: declared here attribute_deprecated void av_destruct_packet_nofree(AVPacket *pkt); ^~~~~~~~~~~~~~~~~~~~~~~~~ libavformat/rtsp.c: In function 'rtsp_fetch_packet': CC libavformat/vocdec.o libavformat/rtsp.c:1808:31: warning: 'rtsp_st' may be used uninitialized in this function [-Wmaybe-uninitialized] if (len >=0 && rtsp_st->transport_priv && rt->transport == RTSP_TRANSPORT_RTP) ~~~~~~~^~~~~~~~~~~~~~~~ CC libavformat/vocenc.o CC libavformat/vorbiscomment.o libavformat/utils.c: In function 'parse_date': libavformat/utils.c:3240:35: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] dt.tm_sec = strtol(p, (char **)&q, 10); ^ CC libavformat/vqf.o libavformat/rtsp.c: In function 'rtsp_read_packet': libavformat/rtsp.c:1866:40: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1011 [-Wformat-truncation=] "Unsubscribe: %s\r\n", ^~ In file included from /usr/include/stdio.h:873, from ./libavutil/common.h:34, from ./libavutil/intreadwrite.h:25, from libavformat/rtsp.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavformat/wav.o CC libavformat/wc3movie.o CC libavformat/westwood.o libavformat/wc3movie.c:71:5: warning: 'AVPaletteControl' is deprecated [-Wdeprecated-declarations] AVPaletteControl palette_control; ^~~~~~~~~~~~~~~~ In file included from libavformat/avformat.h:56, from libavformat/wc3movie.c:31: ./libavcodec/avcodec.h:2808:16: note: declared here typedef struct AVPaletteControl { ^~~~~~~~~~~~~~~~ libavformat/rtsp.c: In function 'ff_rtsp_connect': libavformat/rtsp.c:1202:30: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 2037 [-Wformat-truncation=] "Transport: %s\r\n", ^~ transport); ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ./libavutil/common.h:34, from ./libavutil/intreadwrite.h:25, from libavformat/rtsp.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 2061 bytes into a destination of size 2048 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavformat/wv.o CC libavformat/xa.o CC libavformat/yop.o CC libavformat/yuv4mpeg.o CC libavcodec/4xm.o CC libavcodec/8bps.o In file included from libavcodec/4xm.c:30: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavformat/yuv4mpeg.c: In function 'yuv4_write_packet': libavformat/yuv4mpeg.c:97:12: warning: variable 'm' set but not used [-Wunused-but-set-variable] int i, m; ^ CC libavcodec/8svx.o libavcodec/4xm.c: In function 'init_vlcs': libavcodec/4xm.c:244:35: warning: iteration 4 invokes undefined behavior [-Waggressive-loop-optimizations] block_type_vlc[0][i].table= table[i]; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ libavcodec/4xm.c:243:5: note: within this loop for(i=0; i<8; i++){ ^~~ CC libavcodec/aac_ac3_parser.o CC libavcodec/aac_adtstoasc_bsf.o CC libavcodec/aac_parser.o CC libavcodec/aaccoder.o In file included from libavcodec/aac_parser.h:28, from libavcodec/aac_adtstoasc_bsf.c:23: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/aac_adtstoasc_bsf.c: In function 'aac_adtstoasc_filter': libavcodec/aac_adtstoasc_bsf.c:51:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] *poutbuf = (uint8_t*) buf; ^ libavcodec/aac_adtstoasc_bsf.c:104:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] *poutbuf = (uint8_t*) buf; ^ CC libavcodec/aacdec.o In file included from libavcodec/aac_parser.h:28, from libavcodec/aac_parser.c:25: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/aacenc.o In file included from libavcodec/mpeg4audio.h:26, from libavcodec/aac.h:36, from libavcodec/aaccoder.c:35: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/aacdec.c:81: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/aaccoder.c: In function 'quantize_and_encode_band_cost': libavcodec/aaccoder.c:138:21: warning: passing argument 1 of 'quantize_bands' from incompatible pointer type [-Wincompatible-pointer-types] quantize_bands(s->qcoefs, in, scaled, size, Q34, !IS_CODEBOOK_UNSIGNED(cb), maxval); ~^~~~~~~~ libavcodec/aaccoder.c:68:34: note: expected 'int (*)[2]' but argument is of type 'int *' static void quantize_bands(int (*out)[2], const float *in, const float *scaled, ~~~~~~^~~~~~~ libavcodec/aaccoder.c:146:28: warning: initialization of 'int (*)[2]' from incompatible pointer type 'int *' [-Wincompatible-pointer-types] int (*quants)[2] = &s->qcoefs[i]; ^ CC libavcodec/aacps.o libavcodec/aaccoder.c: In function 'encode_window_bands_info': libavcodec/aaccoder.c:277:28: warning: variable 'start2' set but not used [-Wunused-but-set-variable] int w, swb, cb, start, start2, size; ^~~~~~ libavcodec/aaccoder.c: In function 'search_for_quantizers_fast': libavcodec/aaccoder.c:843:9: warning: variable 'start' set but not used [-Wunused-but-set-variable] int start = 0, i, w, w2, g; ^~~~~ libavcodec/aacdec.c: In function 'aac_decode_frame': libavcodec/aacdec.c:2097:49: warning: to be safe all intermediate pointers in cast from 'float **' to 'const float **' must be 'const' qualified [-Wcast-qual] ac->dsp.float_to_int16_interleave(data, (const float **)ac->output_data, samples, avctx->channels); ^ In file included from libavcodec/mpeg4audio.h:26, from libavcodec/aacenc.c:36: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/aacps.c:26: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/aacenc.c: In function 'adjust_frame_information': libavcodec/aacenc.c:306:16: warning: variable 'sum' set but not used [-Wunused-but-set-variable] int start, sum, maxsfb, cmaxsfb; ^~~ CC libavcodec/aacpsy.o In file included from libavcodec/mpeg4audio.h:26, from libavcodec/aac.h:36, from libavcodec/aactab.h:34, from libavcodec/aacpsy.c:28: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/aacsbr.o In file included from libavcodec/mpeg4audio.h:26, from libavcodec/aac.h:36, from libavcodec/aacsbr.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/aaccoder.c: In function 'search_for_quantizers_faac': libavcodec/aaccoder.c:781:25: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] int b; ^ CC libavcodec/aactab.o In file included from libavcodec/mpeg4audio.h:26, from libavcodec/aac.h:36, from libavcodec/aactab.c:31: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/aandcttab.o CC libavcodec/aasc.o libavcodec/aacsbr.c: In function 'ff_decode_sbr_extension': libavcodec/aacsbr.c:375:8: warning: 'max_qmf_subbands' may be used uninitialized in this function [-Wmaybe-uninitialized] if (sbr->k[2] - sbr->k[0] > max_qmf_subbands) { ^ libavcodec/aacsbr.c:307:24: note: 'max_qmf_subbands' was declared here unsigned int temp, max_qmf_subbands; ^~~~~~~~~~~~~~~~ libavcodec/aacps.c: In function 'ff_ps_apply': libavcodec/aacps.c:956:26: warning: 'h22i_step' may be used uninitialized in this function [-Wmaybe-uninitialized] h22i += h22i_step; ^~ libavcodec/aacps.c:908:52: note: 'h22i_step' was declared here float h11i_step, h12i_step, h21i_step, h22i_step; ^~~~~~~~~ libavcodec/aacps.c:955:26: warning: 'h21i_step' may be used uninitialized in this function [-Wmaybe-uninitialized] h21i += h21i_step; ^~ libavcodec/aacps.c:908:41: note: 'h21i_step' was declared here float h11i_step, h12i_step, h21i_step, h22i_step; ^~~~~~~~~ libavcodec/aacps.c:954:26: warning: 'h12i_step' may be used uninitialized in this function [-Wmaybe-uninitialized] h12i += h12i_step; ^~ libavcodec/aacps.c:908:30: note: 'h12i_step' was declared here float h11i_step, h12i_step, h21i_step, h22i_step; ^~~~~~~~~ libavcodec/aacps.c:953:26: warning: 'h11i_step' may be used uninitialized in this function [-Wmaybe-uninitialized] h11i += h11i_step; ^~ libavcodec/aacps.c:908:19: note: 'h11i_step' was declared here float h11i_step, h12i_step, h21i_step, h22i_step; ^~~~~~~~~ libavcodec/aacps.c:940:45: warning: 'h22i' may be used uninitialized in this function [-Wmaybe-uninitialized] h22i_step = (H22[1][e+1][b] - h22i) * width; ^ libavcodec/aacps.c:906:37: note: 'h22i' was declared here float h11i, h12i, h21i, h22i; ^~~~ libavcodec/aacps.c:939:45: warning: 'h21i' may be used uninitialized in this function [-Wmaybe-uninitialized] h21i_step = (H21[1][e+1][b] - h21i) * width; ^ libavcodec/aacps.c:906:31: note: 'h21i' was declared here float h11i, h12i, h21i, h22i; ^~~~ libavcodec/aacps.c:938:45: warning: 'h12i' may be used uninitialized in this function [-Wmaybe-uninitialized] h12i_step = (H12[1][e+1][b] - h12i) * width; ^ libavcodec/aacps.c:906:25: note: 'h12i' was declared here float h11i, h12i, h21i, h22i; ^~~~ libavcodec/aacps.c:937:45: warning: 'h11i' may be used uninitialized in this function [-Wmaybe-uninitialized] h11i_step = (H11[1][e+1][b] - h11i) * width; ^ libavcodec/aacps.c:906:19: note: 'h11i' was declared here float h11i, h12i, h21i, h22i; ^~~~ CC libavcodec/ac3.o CC libavcodec/ac3_parser.o In file included from libavcodec/ac3.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/ac3_parser.h:27, from libavcodec/ac3_parser.c:24: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/ac3dec.o CC libavcodec/ac3dec_data.o CC libavcodec/ac3enc.o In file included from libavcodec/ac3_parser.h:27, from libavcodec/ac3dec.c:35: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/ac3tab.o CC libavcodec/acelp_filters.o CC libavcodec/acelp_pitch_delay.o CC libavcodec/acelp_vectors.o libavcodec/acelp_pitch_delay.c: In function 'ff_acelp_decode_gain_code': libavcodec/acelp_pitch_delay.c:118:47: warning: passing argument 1 of 'dsp->scalarproduct_int16' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sqrt(dsp->scalarproduct_int16(fc_v, fc_v, subframe_size, 0)); ^~~~ libavcodec/acelp_pitch_delay.c:118:47: note: expected 'int16_t *' {aka 'short int *'} but argument is of type 'const int16_t *' {aka 'const short int *'} libavcodec/acelp_pitch_delay.c:118:53: warning: passing argument 2 of 'dsp->scalarproduct_int16' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sqrt(dsp->scalarproduct_int16(fc_v, fc_v, subframe_size, 0)); ^~~~ libavcodec/acelp_pitch_delay.c:118:53: note: expected 'int16_t *' {aka 'short int *'} but argument is of type 'const int16_t *' {aka 'const short int *'} CC libavcodec/adpcm.o In file included from libavcodec/adpcm.c:22: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/adxdec.o CC libavcodec/adxenc.o libavcodec/adpcm.c: In function 'adpcm_decode_frame': libavcodec/adpcm.c:1582:25: warning: iteration 16 invokes undefined behavior [-Waggressive-loop-optimizations] table[0][i] = (int16_t)bytestream_get_be16(&src); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/adpcm.c:1581:9: note: within this loop for (i = 0; i < 32; i++) ^~~ libavcodec/adpcm.c:1586:24: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] prev[0][i] = (int16_t)bytestream_get_be16(&src); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/adpcm.c:1585:9: note: within this loop for (i = 0; i < 4; i++) ^~~ CC libavcodec/alac.o CC libavcodec/alacenc.o In file included from libavcodec/alac.c:56: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/allcodecs.o CC libavcodec/alsdec.o CC libavcodec/amrnbdec.o In file included from libavcodec/alsdec.c:33: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/anm.o In file included from libavcodec/amrnbdec.c:47: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/apedec.o CC libavcodec/asv1.o In file included from libavcodec/apedec.c:26: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/rl.h:31, from libavcodec/mpeg12data.h:33, from libavcodec/asv1.c:31: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from /usr/include/string.h:494, from libavcodec/amrnbdec.c:43: In function 'memcpy', inlined from 'lsf2lsp_for_mode12k2' at libavcodec/amrnbdec.c:286:9: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [21, 40] is out of the bounds [0, 20] of object 'lsf_r' with type 'int16_t[10]' {aka 'short int[10]'} [-Warray-bounds] return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/amrnbdec.c: In function 'lsf2lsp_for_mode12k2': libavcodec/amrnbdec.c:272:13: note: 'lsf_r' declared here int16_t lsf_r[LP_FILTER_ORDER]; // residual LSF vector ^~~~~ CC libavcodec/atrac.o CC libavcodec/atrac1.o CC libavcodec/atrac3.o CC libavcodec/audioconvert.o In file included from libavcodec/atrac1.c:36: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/atrac3.c:40: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/aura.o CC libavcodec/avfft.o CC libavcodec/avpacket.o CC libavcodec/avs.o CC libavcodec/bethsoftvideo.o CC libavcodec/bfi.o libavcodec/avpacket.c: In function 'av_dup_packet': libavcodec/avpacket.c:76:5: warning: 'av_destruct_packet_nofree' is deprecated [-Wdeprecated-declarations] if (((pkt->destruct == av_destruct_packet_nofree) || (pkt->destruct == NULL)) && pkt->data) { ^~ libavcodec/avpacket.c:25:6: note: declared here void av_destruct_packet_nofree(AVPacket *pkt) ^~~~~~~~~~~~~~~~~~~~~~~~~ CC libavcodec/bgmc.o CC libavcodec/bink.o In file included from libavcodec/avs.c:23: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/bgmc.h:34, from libavcodec/bgmc.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/bink.c:28: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/binkaudio.o CC libavcodec/binkidct.o CC libavcodec/bitstream.o CC libavcodec/bitstream_filter.o In file included from libavcodec/binkaudio.c:33: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/binkaudio.c: In function 'decode_block': libavcodec/binkaudio.c:230:43: warning: to be safe all intermediate pointers in cast from 'float **' to 'const float **' must be 'const' qualified [-Wcast-qual] s->dsp.float_to_int16_interleave(out, (const float **)s->coeffs_ptr, s->frame_len, s->channels); ^ In file included from libavcodec/bitstream.c:32: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/bitstream_filter.c: In function 'av_bitstream_filter_filter': libavcodec/bitstream_filter.c:62:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] *poutbuf= (uint8_t *) buf; ^ CC libavcodec/bmp.o CC libavcodec/bmpenc.o CC libavcodec/c93.o CC libavcodec/cabac.o CC libavcodec/cavs_parser.o CC libavcodec/cavs.o CC libavcodec/cavsdec.o In file included from libavcodec/cabac.c:30: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/mpegvideo.h:32, from libavcodec/cavs.h:26, from libavcodec/cavs_parser.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/cavsdec.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/cavs.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/cavsdsp.o CC libavcodec/cdgraphics.o CC libavcodec/celp_filters.o libavcodec/celp_filters.c: In function 'ff_celp_lp_synthesis_filterf': libavcodec/celp_filters.c:112:30: warning: variable 'tmp3' set but not used [-Wunused-but-set-variable] float tmp0,tmp1,tmp2,tmp3; ^~~~ CC libavcodec/celp_math.o CC libavcodec/cga_data.o CC libavcodec/cinepak.o CC libavcodec/cljr.o In file included from libavcodec/cljr.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/cook.o CC libavcodec/cscd.o In file included from libavcodec/cook.c:52: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/cook.c: In function 'joint_decode': libavcodec/cook.c:844:36: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(decode_buffer, 0, sizeof(decode_buffer)); ^ CC libavcodec/cyuv.o CC libavcodec/dca.o CC libavcodec/dca_parser.o In file included from libavcodec/dca.c:34: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/dcadsp.o CC libavcodec/dct.o CC libavcodec/dirac.o CC libavcodec/dirac_parser.o In file included from libavcodec/dirac.h:32, from libavcodec/dirac.c:28: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/dirac.c: In function 'ff_dirac_parse_sequence_header': libavcodec/dirac.c:247:29: warning: variable 'version_minor' set but not used [-Wunused-but-set-variable] unsigned version_major, version_minor; ^~~~~~~~~~~~~ CC libavcodec/dnxhd_parser.o CC libavcodec/dnxhddata.o CC libavcodec/dnxhddec.o CC libavcodec/dnxhdenc.o CC libavcodec/dpcm.o In file included from libavcodec/dnxhddec.c:26: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/mpegvideo.h:32, from libavcodec/dnxhdenc.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/dpx.o CC libavcodec/dsicinav.o CC libavcodec/dsputil.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/dsputil.c:36: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/dump_extradata_bsf.o CC libavcodec/dv.o In file included from libavcodec/dv.c:43: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/dv.c: In function 'dvvideo_decode_frame': libavcodec/dv.c:1107:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] s->buf = buf; ^ CC libavcodec/dvbsub.o CC libavcodec/dvbsub_parser.o In file included from libavcodec/dvbsub_parser.c:23: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/dvbsubdec.o CC libavcodec/dvdata.o In file included from libavcodec/dvbsubdec.c:23: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/dvdsub_parser.o CC libavcodec/dvdsubdec.o CC libavcodec/dvdsubenc.o CC libavcodec/dwt.o In file included from libavcodec/dvdsubdec.c:22: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/dsputil.c: In function 'dsputil_init': libavcodec/dsputil.c:4533:43: warning: iteration 16 invokes undefined behavior [-Waggressive-loop-optimizations] if(!c->avg_2tap_qpel_pixels_tab[0][i]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavcodec/dsputil.c:4530:5: note: within this loop for(i=0; i<64; i++){ ^~~ libavcodec/dvdsubdec.c: In function 'decode_dvd_subtitles': libavcodec/dvdsubdec.c:145:37: warning: 'colormap[3]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!color_used[colormap[i]]) { ~~~~~~~~^~~ libavcodec/dvdsubdec.c:169:13: note: 'colormap[3]' was declared here uint8_t colormap[4], alpha[256]; ^~~~~~~~ libavcodec/dvdsubdec.c:145:37: warning: 'colormap[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!color_used[colormap[i]]) { ~~~~~~~~^~~ libavcodec/dvdsubdec.c:169:13: note: 'colormap[2]' was declared here uint8_t colormap[4], alpha[256]; ^~~~~~~~ libavcodec/dvdsubdec.c:145:37: warning: 'colormap[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!color_used[colormap[i]]) { ~~~~~~~~^~~ libavcodec/dvdsubdec.c:169:13: note: 'colormap[1]' was declared here uint8_t colormap[4], alpha[256]; ^~~~~~~~ libavcodec/dvdsubdec.c:145:37: warning: 'colormap[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!color_used[colormap[i]]) { ~~~~~~~~^~~ libavcodec/dvdsubdec.c:169:13: note: 'colormap[0]' was declared here uint8_t colormap[4], alpha[256]; ^~~~~~~~ CC libavcodec/dxa.o CC libavcodec/eac3dec.o In file included from libavcodec/ac3_parser.h:27, from libavcodec/eac3dec.c:51: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/eac3dec_data.o CC libavcodec/eacmv.o CC libavcodec/eaidct.o CC libavcodec/eamad.o In file included from libavcodec/eamad.c:32: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/eatgq.o libavcodec/eamad.c: In function 'decode_frame': libavcodec/eamad.c:190:15: warning: 'mv_y' may be used uninitialized in this function [-Wmaybe-uninitialized] int mv_x, mv_y; ^~~~ libavcodec/eamad.c:190:9: warning: 'mv_x' may be used uninitialized in this function [-Wmaybe-uninitialized] int mv_x, mv_y; ^~~~ In file included from libavcodec/eatgq.c:33: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/eatgv.o In file included from libavcodec/eatgv.c:33: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/eatqi.o In file included from libavcodec/eatqi.c:32: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/elbg.o CC libavcodec/error_resilience.o CC libavcodec/escape124.o CC libavcodec/eval.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/error_resilience.c:32: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/faandct.o In file included from libavcodec/escape124.c:25: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/error_resilience.c:33: At top level: libavcodec/h264.h:1256:13: warning: 'decode_mb_skip' defined but not used [-Wunused-function] static void decode_mb_skip(H264Context *h){ ^~~~~~~~~~~~~~ CC libavcodec/faanidct.o CC libavcodec/faxcompr.o In file included from libavcodec/faxcompr.c:28: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/fft.o CC libavcodec/ffv1.o In file included from libavcodec/ffv1.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/flac.o At top level: libavcodec/ffv1.c:170:21: warning: 'quant13' defined but not used [-Wunused-const-variable=] static const int8_t quant13[256]={ ^~~~~~~ libavcodec/ffv1.c:115:21: warning: 'quant9' defined but not used [-Wunused-const-variable=] static const int8_t quant9[256]={ ^~~~~~ libavcodec/ffv1.c:97:21: warning: 'quant7' defined but not used [-Wunused-const-variable=] static const int8_t quant7[256]={ ^~~~~~ libavcodec/ffv1.c:41:21: warning: 'quant3' defined but not used [-Wunused-const-variable=] static const int8_t quant3[256]={ ^~~~~~ CC libavcodec/flacdata.o CC libavcodec/flacdec.o In file included from libavcodec/flacdec.c:41: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/flacenc.o In file included from libavcodec/flacenc.c:25: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/flashsv.o CC libavcodec/flashsvenc.o In file included from libavcodec/flashsv.c:54: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/flashsv.c: In function 'flashsv_decode_frame': libavcodec/flashsv.c:202:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] s->zstream.next_in = buf+(get_bits_count(&gb)/8); ^ CC libavcodec/flicvideo.o CC libavcodec/flvdec.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/flvdec.c:20: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/flvenc.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/flvenc.c:20: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/fraps.o CC libavcodec/frwu.o In file included from libavcodec/fraps.c:35: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/g726.o CC libavcodec/gif.o In file included from libavcodec/g726.c:26: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/gifdec.o libavcodec/gif.c: In function 'gif_encode_frame': libavcodec/gif.c:112:9: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] len += ff_lzw_encode_flush(s->lzw, flush_put_bits); ^~ libavcodec/gif.c:90:9: note: 'len' was declared here int len, height; ^~~ CC libavcodec/golomb.o CC libavcodec/h261.o CC libavcodec/h261_parser.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/h261.h:31, from libavcodec/h261.c:30: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/h261dec.o CC libavcodec/h261enc.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/h261dec.c:30: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/mpegvideo.h:32, from libavcodec/h261enc.c:30: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/h263.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/h263.c:35: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/h263_parser.o CC libavcodec/h263dec.o CC libavcodec/h264.o CC libavcodec/h264_cabac.o CC libavcodec/h264_cavlc.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/h263dec.c:31: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/h263dec.c: In function 'ff_h263_decode_init': libavcodec/h263dec.c:114:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (avctx->codec->id != CODEC_ID_H263 && avctx->codec->id != CODEC_ID_MPEG4) ^~ libavcodec/h263dec.c:118:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' h263_decode_init_vlc(s); ^~~~~~~~~~~~~~~~~~~~ In file included from libavcodec/mpegvideo.h:32, from libavcodec/h264.c:31: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/mpegvideo.h:32, from libavcodec/h264_cavlc.c:32: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/mpegvideo.h:32, from libavcodec/h264.h:34, from libavcodec/h264_cabac.c:33: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/h264.c: In function 'fill_filter_caches': libavcodec/h264.c:2309:38: warning: initialization of 'int (*)[64]' from incompatible pointer type 'int *' [-Wincompatible-pointer-types] int (*ref2frm)[64] = h->ref2frm[ h->slice_num&(MAX_SLICES-1) ][0] + (MB_MBAFF ? 20 : 2); ^ libavcodec/h264.c:2386:38: warning: initialization of 'int (*)[64]' from incompatible pointer type 'int *' [-Wincompatible-pointer-types] int (*ref2frm)[64] = h->ref2frm[ h->slice_table[top_xy]&(MAX_SLICES-1) ][0] + (MB_MBAFF ? 20 : 2); ^ libavcodec/h264.c:2401:42: warning: initialization of 'int (*)[64]' from incompatible pointer type 'int *' [-Wincompatible-pointer-types] int (*ref2frm)[64] = h->ref2frm[ h->slice_table[left_xy[0]]&(MAX_SLICES-1) ][0] + (MB_MBAFF ? 20 : 2); ^ libavcodec/h264_cavlc.c: In function 'decode_residual': libavcodec/h264_cavlc.c:411:41: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] int suffix_length = total_coeff > 10 & trailing_ones < 3; ~~~~~~~~~~~~^~~~ In file included from libavcodec/h264.c:32: At top level: libavcodec/h264.h:1256:13: warning: 'decode_mb_skip' defined but not used [-Wunused-function] static void decode_mb_skip(H264Context *h){ ^~~~~~~~~~~~~~ libavcodec/h264_cabac.c: In function 'ff_h264_decode_mb_cabac': libavcodec/h264_cabac.c:1492:22: warning: this 'else' clause does not guard... [-Wmisleading-indentation] }else ^~~~ libavcodec/h264_cabac.c:1494:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' fill_rectangle(&h->ref_cache[list][ scan8[0] ], 4, 4, 8, ref, 1); ^~~~~~~~~~~~~~ CC libavcodec/h264_direct.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/h264_direct.c:31: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/h264_direct.c:32: At top level: libavcodec/h264.h:1256:13: warning: 'decode_mb_skip' defined but not used [-Wunused-function] static void decode_mb_skip(H264Context *h){ ^~~~~~~~~~~~~~ CC libavcodec/h264_loopfilter.o CC libavcodec/h264_mp4toannexb_bsf.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/h264_loopfilter.c:32: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/h264_mp4toannexb_bsf.c: In function 'h264_mp4toannexb_filter': libavcodec/h264_mp4toannexb_bsf.c:64:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] *poutbuf = (uint8_t*) buf; ^ libavcodec/h264_loopfilter.c: In function 'check_mv': libavcodec/h264_loopfilter.c:426:69: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] v= h->mv_cache[0][b_idx][0] - h->mv_cache[0][bn_idx][0] + 3 >= 7U | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ libavcodec/h264_loopfilter.c:431:40: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] v = h->ref_cache[1][b_idx] != h->ref_cache[1][bn_idx] | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/h264_loopfilter.c:433:79: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] FFABS( h->mv_cache[1][b_idx][1] - h->mv_cache[1][bn_idx][1] ) >= mvy_limit; libavcodec/h264_loopfilter.c:436:39: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] if(h->ref_cache[0][b_idx] != h->ref_cache[1][bn_idx] | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/h264_loopfilter.c:440:74: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] h->mv_cache[0][b_idx][0] - h->mv_cache[1][bn_idx][0] + 3 >= 7U | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ libavcodec/h264_loopfilter.c:442:74: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] h->mv_cache[1][b_idx][0] - h->mv_cache[0][bn_idx][0] + 3 >= 7U | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ libavcodec/h264_loopfilter.c:443:79: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] FFABS( h->mv_cache[1][b_idx][1] - h->mv_cache[0][bn_idx][1] ) >= mvy_limit; In file included from libavcodec/h264_loopfilter.c:33: At top level: libavcodec/h264.h:1256:13: warning: 'decode_mb_skip' defined but not used [-Wunused-function] static void decode_mb_skip(H264Context *h){ ^~~~~~~~~~~~~~ CC libavcodec/h264_parser.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/h264.h:34, from libavcodec/h264_parser.h:31, from libavcodec/h264_parser.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/h264_parser.h:31, from libavcodec/h264_parser.c:29: At top level: libavcodec/h264.h:1256:13: warning: 'decode_mb_skip' defined but not used [-Wunused-function] static void decode_mb_skip(H264Context *h){ ^~~~~~~~~~~~~~ CC libavcodec/h264_ps.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/h264.h:34, from libavcodec/h264_ps.c:31: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/h264_ps.c:31: At top level: libavcodec/h264.h:1256:13: warning: 'decode_mb_skip' defined but not used [-Wunused-function] static void decode_mb_skip(H264Context *h){ ^~~~~~~~~~~~~~ CC libavcodec/h264_refs.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/h264.h:34, from libavcodec/h264_refs.c:31: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/h264_refs.c:31: At top level: libavcodec/h264.h:1256:13: warning: 'decode_mb_skip' defined but not used [-Wunused-function] static void decode_mb_skip(H264Context *h){ ^~~~~~~~~~~~~~ CC libavcodec/h264_sei.o CC libavcodec/h264dsp.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/h264.h:34, from libavcodec/h264_sei.c:30: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/h264_sei.c:30: At top level: libavcodec/h264.h:1256:13: warning: 'decode_mb_skip' defined but not used [-Wunused-function] static void decode_mb_skip(H264Context *h){ ^~~~~~~~~~~~~~ CC libavcodec/h264idct.o CC libavcodec/h264pred.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/h264pred.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/huffman.o In file included from libavcodec/huffman.c:24: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/huffyuv.o In file included from libavcodec/huffyuv.c:32: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/idcinvideo.o libavcodec/idcinvideo.c: In function 'idcin_decode_frame': libavcodec/idcinvideo.c:216:5: warning: 'AVPaletteControl' is deprecated [-Wdeprecated-declarations] AVPaletteControl *palette_control = avctx->palctrl; ^~~~~~~~~~~~~~~~ In file included from libavcodec/idcinvideo.c:51: libavcodec/avcodec.h:2808:16: note: declared here typedef struct AVPaletteControl { ^~~~~~~~~~~~~~~~ CC libavcodec/iff.o CC libavcodec/iirfilter.o In file included from libavcodec/iff.c:30: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/imc.o CC libavcodec/imgconvert.o CC libavcodec/imx_dump_header_bsf.o In file included from libavcodec/imc.c:40: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/indeo2.o In file included from libavcodec/indeo2.c:28: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/indeo3.o CC libavcodec/indeo5.o In file included from libavcodec/indeo5.c:32: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/intelh263dec.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/intelh263dec.c:21: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/interplayvideo.o In file included from libavcodec/interplayvideo.c:45: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/interplayvideo.c: In function 'ipvideo_decode_frame': libavcodec/interplayvideo.c:1045:5: warning: 'AVPaletteControl' is deprecated [-Wdeprecated-declarations] AVPaletteControl *palette_control = avctx->palctrl; ^~~~~~~~~~~~~~~~ In file included from libavcodec/interplayvideo.c:41: libavcodec/avcodec.h:2808:16: note: declared here typedef struct AVPaletteControl { ^~~~~~~~~~~~~~~~ CC libavcodec/intrax8.o In file included from libavcodec/intrax8.c:25: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/intrax8dsp.o CC libavcodec/ituh263dec.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/ituh263dec.c:35: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/ituh263dec.c: In function 'h263_decode_gob_header': libavcodec/ituh263dec.c:155:23: warning: variable 'gfid' set but not used [-Wunused-but-set-variable] unsigned int val, gfid, gob_number; ^~~~ CC libavcodec/ituh263enc.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/ituh263enc.c:35: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/ivi_common.o CC libavcodec/ivi_dsp.o In file included from libavcodec/ivi_common.c:31: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/interplayvideo.c: In function 'ipvideo_decode_block_opcode_0xD': libavcodec/interplayvideo.c:527:9: warning: 'P[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] memset(s->pixel_ptr, P[0], 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/interplayvideo.c:528:9: warning: 'P[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] memset(s->pixel_ptr + 4, P[1], 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libavcodec/ivi_common.h:33, from libavcodec/ivi_dsp.c:32: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/ivi_dsp.c: In function 'ff_ivi_inverse_slant_8x8': libavcodec/ivi_dsp.c:247:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ libavcodec/ivi_dsp.c:250:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' src++; ^~~ libavcodec/ivi_dsp.c: In function 'ff_ivi_inverse_slant_4x4': libavcodec/ivi_dsp.c:287:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ libavcodec/ivi_dsp.c:290:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' src++; ^~~ libavcodec/ivi_dsp.c: In function 'ff_ivi_recompose53': libavcodec/ivi_dsp.c:160:29: warning: 'b3_9' may be used uninitialized in this function [-Wmaybe-uninitialized] p3 += b3_7 - b3_8*6 + b3_9; ~~~~~^~~~~~~~ libavcodec/ivi_dsp.c:152:22: warning: 'b3_6' may be used uninitialized in this function [-Wmaybe-uninitialized] tmp1 = b3_2 + b3_5; ~~~~~^~~~~~~~~~~~~ libavcodec/ivi_dsp.c:152:22: warning: 'b3_3' may be used uninitialized in this function [-Wmaybe-uninitialized] libavcodec/ivi_dsp.c:143:42: warning: 'b2_6' may be used uninitialized in this function [-Wmaybe-uninitialized] p3 += (tmp1 + b2_4 - b2_5*6 + b2_6) << 1; ~~~~^~ libavcodec/ivi_dsp.c:138:29: warning: 'b2_3' may be used uninitialized in this function [-Wmaybe-uninitialized] tmp1 = b2_1 - b2_2*6 + b2_3; ~~~~~^~~~~~~~ libavcodec/ivi_dsp.c:123:22: warning: 'b1_3' may be used uninitialized in this function [-Wmaybe-uninitialized] tmp2 = tmp1 - tmp0*6 + b1_3; ~~~~~^~~~~~~~~~~~~~~~~~~~~~ libavcodec/ivi_dsp.c:126:29: warning: 'b1_2' may be used uninitialized in this function [-Wmaybe-uninitialized] p0 += (tmp0 + tmp1) << 3; ~~~~~~^~~~~~~ libavcodec/ivi_dsp.c:126:29: warning: 'b1_1' may be used uninitialized in this function [-Wmaybe-uninitialized] libavcodec/ivi_dsp.c:113:28: warning: 'b0_2' may be used uninitialized in this function [-Wmaybe-uninitialized] p3 = (tmp1 + tmp2 + b0_2) << 2; ~~~~~^~~~~~ libavcodec/ivi_dsp.c:112:28: warning: 'b0_1' may be used uninitialized in this function [-Wmaybe-uninitialized] p2 = (tmp0 + tmp2) << 3; ~~~~~~^~~~~~~ CC libavcodec/jfdctfst.o libavcodec/ivi_common.c: In function 'ff_ivi_decode_blocks': libavcodec/ivi_common.c:452:70: warning: 'mv_y' may be used uninitialized in this function [-Wmaybe-uninitialized] band->ref_buf + buf_offs + mv_y * band->pitch + mv_x, ~~~~~^~~~~~~~~~~~~ libavcodec/ivi_common.c:452:84: warning: 'mv_x' may be used uninitialized in this function [-Wmaybe-uninitialized] band->ref_buf + buf_offs + mv_y * band->pitch + mv_x, ^ libavcodec/ivi_common.c:451:21: warning: 'mc_type' may be used uninitialized in this function [-Wmaybe-uninitialized] mc_no_delta_func(band->buf + buf_offs, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ band->ref_buf + buf_offs + mv_y * band->pitch + mv_x, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ band->pitch, mc_type); ~~~~~~~~~~~~~~~~~~~~~ CC libavcodec/jfdctint.o CC libavcodec/jpegls.o CC libavcodec/jpeglsdec.o In file included from libavcodec/jpeglsdec.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/jpeglsdec.c: In function 'ff_jpegls_decode_lse': libavcodec/jpeglsdec.c:54:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len, id; ^~~ CC libavcodec/jpeglsenc.o CC libavcodec/jrevdct.o CC libavcodec/kgv1dec.o In file included from libavcodec/jpeglsenc.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/kmvc.o CC libavcodec/lcldec.o libavcodec/lcldec.c: In function 'zlib_decomp': libavcodec/lcldec.c:136:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] c->zstream.next_in = src; ^ libavcodec/lcldec.c: In function 'decode_frame': libavcodec/lcldec.c:165:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] unsigned char *encoded = (unsigned char *)buf; ^ CC libavcodec/lclenc.o CC libavcodec/ljpegenc.o CC libavcodec/loco.o CC libavcodec/lpc.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/ljpegenc.c:35: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/lsp.o In file included from libavcodec/loco.c:28: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/lzw.o CC libavcodec/lzwenc.o CC libavcodec/mace.o CC libavcodec/mdct.o CC libavcodec/mdec.o CC libavcodec/mimic.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/mdec.c:32: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/mimic.c:27: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/mjpeg.o CC libavcodec/mjpeg_parser.o CC libavcodec/mjpega_dump_header_bsf.o CC libavcodec/mjpegbdec.o CC libavcodec/mjpegdec.o In file included from libavcodec/mjpegdec.h:33, from libavcodec/mjpegbdec.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/mjpegenc.o In file included from libavcodec/mjpegdec.h:33, from libavcodec/mjpegdec.c:39: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/mlp.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/mjpegenc.c:38: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/mlp_parser.o CC libavcodec/mlpdec.o In file included from libavcodec/mlp_parser.c:30: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/mlpdec.c:32: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/mlpdsp.o CC libavcodec/mmvideo.o CC libavcodec/motion_est.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/motion_est.c:37: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/motionpixels.o libavcodec/motion_est.c: In function 'bidir_refine': libavcodec/motion_est.c:1478:27: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '-180' to '76' [-Woverflow] #define HASH(fx,fy,bx,by) ((fx)+17*(fy)+63*(bx)+117*(by)) ^ libavcodec/motion_est.c:1515:20: note: in expansion of macro 'HASH' HASH( 0, 0, 1, 1), HASH( 0, 0,-1,-1), HASH( 0, 1, 1, 0), HASH( 0,-1,-1, 0), HASH( 1, 1, 0, 0), HASH(-1,-1, 0, 0), HASH( 1, 0, 0, 1), HASH(-1, 0, 0,-1), ^~~~ libavcodec/motion_est.c:1478:27: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '-134' to '122' [-Woverflow] #define HASH(fx,fy,bx,by) ((fx)+17*(fy)+63*(bx)+117*(by)) ^ libavcodec/motion_est.c:1516:20: note: in expansion of macro 'HASH' HASH( 0, 1, 0, 1), HASH( 0,-1, 0,-1), HASH( 1, 0, 1, 0), HASH(-1, 0,-1, 0), ^~~~ libavcodec/motion_est.c:1478:27: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '-197' to '59' [-Woverflow] #define HASH(fx,fy,bx,by) ((fx)+17*(fy)+63*(bx)+117*(by)) ^ libavcodec/motion_est.c:1520:20: note: in expansion of macro 'HASH' HASH( 0, 1, 1, 1), HASH( 0,-1,-1,-1), HASH( 1, 1, 1, 0), HASH(-1,-1,-1, 0), HASH( 1, 1, 0, 1), HASH(-1,-1, 0,-1), HASH( 1, 0, 1, 1), HASH(-1, 0,-1,-1), ^~~~ libavcodec/motion_est.c:1478:27: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '-135' to '121' [-Woverflow] #define HASH(fx,fy,bx,by) ((fx)+17*(fy)+63*(bx)+117*(by)) ^ libavcodec/motion_est.c:1520:96: note: in expansion of macro 'HASH' HASH( 0, 1, 1, 1), HASH( 0,-1,-1,-1), HASH( 1, 1, 1, 0), HASH(-1,-1,-1, 0), HASH( 1, 1, 0, 1), HASH(-1,-1, 0,-1), HASH( 1, 0, 1, 1), HASH(-1, 0,-1,-1), ^~~~ libavcodec/motion_est.c:1478:27: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '-181' to '75' [-Woverflow] #define HASH(fx,fy,bx,by) ((fx)+17*(fy)+63*(bx)+117*(by)) ^ libavcodec/motion_est.c:1520:134: note: in expansion of macro 'HASH' HASH( 0, 1, 1, 1), HASH( 0,-1,-1,-1), HASH( 1, 1, 1, 0), HASH(-1,-1,-1, 0), HASH( 1, 1, 0, 1), HASH(-1,-1, 0,-1), HASH( 1, 0, 1, 1), HASH(-1, 0,-1,-1), ^~~~ libavcodec/motion_est.c:1478:27: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '-163' to '93' [-Woverflow] #define HASH(fx,fy,bx,by) ((fx)+17*(fy)+63*(bx)+117*(by)) ^ libavcodec/motion_est.c:1521:20: note: in expansion of macro 'HASH' HASH( 0,-1, 1, 1), HASH( 0, 1,-1,-1), HASH(-1, 1, 1, 0), HASH( 1,-1,-1, 0), HASH( 1, 1, 0,-1), HASH(-1,-1, 0, 1), HASH( 1, 0,-1, 1), HASH(-1, 0, 1,-1), ^~~~ libavcodec/motion_est.c:1478:27: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '-133' to '123' [-Woverflow] #define HASH(fx,fy,bx,by) ((fx)+17*(fy)+63*(bx)+117*(by)) ^ libavcodec/motion_est.c:1522:96: note: in expansion of macro 'HASH' HASH( 0, 1,-1, 1), HASH( 0,-1, 1,-1), HASH( 1,-1, 1, 0), HASH(-1, 1,-1, 0), HASH(-1, 1, 0, 1), HASH( 1,-1, 0,-1), HASH( 1, 0, 1,-1), HASH(-1, 0,-1, 1), ^~~~ libavcodec/motion_est.c:1478:27: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '-179' to '77' [-Woverflow] #define HASH(fx,fy,bx,by) ((fx)+17*(fy)+63*(bx)+117*(by)) ^ libavcodec/motion_est.c:1523:134: note: in expansion of macro 'HASH' HASH( 0, 1, 1,-1), HASH( 0,-1,-1, 1), HASH( 1, 1,-1, 0), HASH(-1,-1, 1, 0), HASH( 1,-1, 0, 1), HASH(-1, 1, 0,-1), HASH(-1, 0, 1, 1), HASH( 1, 0,-1,-1), ^~~~ libavcodec/motion_est.c:1478:27: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '-198' to '58' [-Woverflow] #define HASH(fx,fy,bx,by) ((fx)+17*(fy)+63*(bx)+117*(by)) ^ libavcodec/motion_est.c:1525:20: note: in expansion of macro 'HASH' HASH( 1, 1, 1, 1), HASH(-1,-1,-1,-1), ^~~~ libavcodec/motion_est.c:1478:27: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '-164' to '92' [-Woverflow] #define HASH(fx,fy,bx,by) ((fx)+17*(fy)+63*(bx)+117*(by)) ^ libavcodec/motion_est.c:1526:96: note: in expansion of macro 'HASH' HASH( 1, 1, 1,-1), HASH(-1,-1,-1, 1), HASH( 1, 1,-1, 1), HASH(-1,-1, 1,-1), HASH( 1,-1, 1, 1), HASH(-1, 1,-1,-1), HASH(-1, 1, 1, 1), HASH( 1,-1,-1,-1), ^~~~ libavcodec/motion_est.c:1478:27: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '-196' to '60' [-Woverflow] #define HASH(fx,fy,bx,by) ((fx)+17*(fy)+63*(bx)+117*(by)) ^ libavcodec/motion_est.c:1526:134: note: in expansion of macro 'HASH' HASH( 1, 1, 1,-1), HASH(-1,-1,-1, 1), HASH( 1, 1,-1, 1), HASH(-1,-1, 1,-1), HASH( 1,-1, 1, 1), HASH(-1, 1,-1,-1), HASH(-1, 1, 1, 1), HASH( 1,-1,-1,-1), ^~~~ libavcodec/motion_est.c:1478:27: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '-162' to '94' [-Woverflow] #define HASH(fx,fy,bx,by) ((fx)+17*(fy)+63*(bx)+117*(by)) ^ libavcodec/motion_est.c:1527:1: note: in expansion of macro 'HASH' HASH( 1, 1,-1,-1), HASH(-1,-1, 1, 1), HASH( 1,-1,-1, 1), HASH(-1, 1, 1,-1), HASH( 1,-1, 1,-1), HASH(-1, 1,-1, 1), ^~~~ In file included from libavcodec/motionpixels.c:23: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/movsub_bsf.o CC libavcodec/mp3_header_compress_bsf.o CC libavcodec/mp3_header_decompress_bsf.o In file included from libavcodec/mpegaudio.h:30, from libavcodec/mp3_header_compress_bsf.c:22: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/mp3_header_compress_bsf.c: In function 'mp3_header_compress': libavcodec/mp3_header_compress_bsf.c:41:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] *poutbuf= (uint8_t *) buf; ^ In file included from libavcodec/mpegaudio.h:30, from libavcodec/mp3_header_decompress_bsf.c:22: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/mp3_header_decompress_bsf.c: In function 'mp3_header_decompress': libavcodec/mp3_header_decompress_bsf.c:36:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] *poutbuf= (uint8_t *) buf; ^ CC libavcodec/mpc.o CC libavcodec/mpc7.o In file included from libavcodec/mpc.c:30: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/mpc7.c:30: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/mpc7.c: In function 'mpc7_decode_frame': libavcodec/mpc7.c:201:28: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(bands, 0, sizeof(bands)); ^ CC libavcodec/mpc8.o CC libavcodec/mpeg12.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/mpeg12.c:32: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/mpeg12data.o In file included from libavcodec/mpc8.c:30: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/mpeg12enc.o In file included from libavcodec/rl.h:31, from libavcodec/mpeg12data.h:33, from libavcodec/mpeg12data.c:28: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/mpeg4audio.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/mpeg12enc.c:30: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/mpeg12enc.c: In function 'ff_mpeg1_encode_init': libavcodec/mpeg12enc.c:764:40: warning: variable 'range' set but not used [-Wunused-but-set-variable] int val, bit_size, range, code; ^~~~~ In file included from libavcodec/mpeg4audio.c:23: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/mpeg4video.o CC libavcodec/mpeg4video_parser.o libavcodec/mpeg12.c: In function 'mpeg_decode_gop': libavcodec/mpeg12.c:2131:9: warning: variable 'drop_frame_flag' set but not used [-Wunused-but-set-variable] int drop_frame_flag; ^~~~~~~~~~~~~~~ libavcodec/mpeg12.c: In function 'decode_chunks': libavcodec/mpeg12.c:2338:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(mpeg1_decode_picture(avctx, ^~ libavcodec/mpeg12.c:2341:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' s2->first_slice = 1; ^~ In file included from libavcodec/mpegvideo.h:32, from libavcodec/mpeg4video_parser.c:24: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/mpegvideo.h:32, from libavcodec/mpeg4video.c:23: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/mpeg4videodec.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/mpeg4videodec.c:23: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/mpeg4videodec.c: In function 'mpeg4_decode_video_packet_header': libavcodec/mpeg4videodec.c:393:13: warning: variable 'time_increment' set but not used [-Wunused-but-set-variable] int time_increment; ^~~~~~~~~~~~~~ libavcodec/mpeg4videodec.c: In function 'decode_vol_header': libavcodec/mpeg4videodec.c:1798:17: warning: variable 'ref_layer_sampling_dir' set but not used [-Wunused-but-set-variable] int ref_layer_sampling_dir; ^~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpeg4videodec.c:1797:17: warning: variable 'ref_layer_id' set but not used [-Wunused-but-set-variable] int ref_layer_id; ^~~~~~~~~~~~ libavcodec/mpeg4videodec.c: In function 'decode_vop_header': libavcodec/mpeg4videodec.c:1985:47: warning: variable 'ver_spat_ref' set but not used [-Wunused-but-set-variable] int width, height, hor_spat_ref, ver_spat_ref; ^~~~~~~~~~~~ libavcodec/mpeg4videodec.c:1985:33: warning: variable 'hor_spat_ref' set but not used [-Wunused-but-set-variable] int width, height, hor_spat_ref, ver_spat_ref; ^~~~~~~~~~~~ libavcodec/mpeg4videodec.c:1985:25: warning: variable 'height' set but not used [-Wunused-but-set-variable] int width, height, hor_spat_ref, ver_spat_ref; ^~~~~~ libavcodec/mpeg4videodec.c:1985:18: warning: variable 'width' set but not used [-Wunused-but-set-variable] int width, height, hor_spat_ref, ver_spat_ref; ^~~~~ CC libavcodec/mpeg4videoenc.o CC libavcodec/mpegaudio.o In file included from libavcodec/mpegaudio.h:30, from libavcodec/mpegaudio.c:27: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/mpegvideo.h:32, from libavcodec/mpeg4videoenc.c:23: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/mpeg4videoenc.c: In function 'mpeg4_encode_block': libavcodec/mpeg4videoenc.c:302:20: warning: variable 'rl' set but not used [-Wunused-but-set-variable] const RLTable *rl; ^~ CC libavcodec/mpegaudio_parser.o In file included from libavcodec/mpegaudio.h:30, from libavcodec/mpegaudio_parser.c:24: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/mpegaudiodata.o CC libavcodec/mpegaudiodec.o In file included from libavcodec/mpegaudiodec.c:28: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/mpegaudiodec.c: In function 'mp_decode_layer3': libavcodec/mpegaudiodec.c:1902:39: warning: variable 'private_bits' set but not used [-Wunused-but-set-variable] int nb_granules, main_data_begin, private_bits; ^~~~~~~~~~~~ libavcodec/mpeg4videodec.c: In function 'mpeg4_decode_block': libavcodec/mpeg4videodec.c:1080:9: warning: 'dc_pred_dir' may be used uninitialized in this function [-Wmaybe-uninitialized] mpeg4_pred_ac(s, block, n, dc_pred_dir); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavcodec/mpegaudiodecheader.o In file included from libavcodec/mpegaudio.h:30, from libavcodec/mpegaudiodecheader.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/mpegaudioenc.o In file included from libavcodec/mpegaudio.h:30, from libavcodec/mpegaudioenc.c:32: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/motion_est.c:289: libavcodec/motion_est.c: In function 'interlaced_search': libavcodec/motion_est_template.c:1263:49: warning: 'P[4][1]' may be used uninitialized in this function [-Wmaybe-uninitialized] CHECK_MV(P_MEDIAN[0]>>shift, P_MEDIAN[1]>>shift) ^~ libavcodec/motion_est.c:752:9: note: 'P[4][1]' was declared here int P[10][2]; ^ In file included from libavcodec/motion_est.c:289: libavcodec/motion_est_template.c:1263:29: warning: 'P[4][0]' may be used uninitialized in this function [-Wmaybe-uninitialized] CHECK_MV(P_MEDIAN[0]>>shift, P_MEDIAN[1]>>shift) ^~ libavcodec/motion_est.c:752:9: note: 'P[4][0]' was declared here int P[10][2]; ^ In file included from libavcodec/motion_est.c:289: libavcodec/motion_est_template.c:1266:53: warning: 'P[3][1]' may be used uninitialized in this function [-Wmaybe-uninitialized] CHECK_MV(P_TOPRIGHT[0]>>shift, P_TOPRIGHT[1]>>shift) ^~ libavcodec/motion_est.c:752:9: note: 'P[3][1]' was declared here int P[10][2]; ^ In file included from libavcodec/motion_est.c:289: libavcodec/motion_est_template.c:1266:31: warning: 'P[3][0]' may be used uninitialized in this function [-Wmaybe-uninitialized] CHECK_MV(P_TOPRIGHT[0]>>shift, P_TOPRIGHT[1]>>shift) ^~ libavcodec/motion_est.c:752:9: note: 'P[3][0]' was declared here int P[10][2]; ^ In file included from libavcodec/motion_est.c:289: libavcodec/motion_est_template.c:1265:43: warning: 'P[2][1]' may be used uninitialized in this function [-Wmaybe-uninitialized] CHECK_MV(P_TOP[0]>>shift, P_TOP[1]>>shift) ^~ libavcodec/motion_est.c:752:9: note: 'P[2][1]' was declared here int P[10][2]; ^ In file included from libavcodec/motion_est.c:289: libavcodec/motion_est_template.c:1265:26: warning: 'P[2][0]' may be used uninitialized in this function [-Wmaybe-uninitialized] CHECK_MV(P_TOP[0]>>shift, P_TOP[1]>>shift) ^~ libavcodec/motion_est.c:752:9: note: 'P[2][0]' was declared here int P[10][2]; ^ CC libavcodec/mpegvideo.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/mpegvideo.c:33: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/mpegvideo.c:34: libavcodec/mpegvideo_common.h: In function 'MPV_motion_internal': libavcodec/mpegvideo_common.h:673:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[1][0]= *(int32_t*)mv_cache[1][1]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:673:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[1][0]= *(int32_t*)mv_cache[1][1]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:674:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[2][0]= *(int32_t*)mv_cache[2][1]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:674:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[2][0]= *(int32_t*)mv_cache[2][1]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:676:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[1][0]= *(int32_t*)s->current_picture.motion_val[0][mot_xy-1]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:677:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[2][0]= *(int32_t*)s->current_picture.motion_val[0][mot_xy-1+mot_stride]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:681:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[1][3]= *(int32_t*)mv_cache[1][2]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:681:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[1][3]= *(int32_t*)mv_cache[1][2]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:682:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[2][3]= *(int32_t*)mv_cache[2][2]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:682:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[2][3]= *(int32_t*)mv_cache[2][2]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:684:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[1][3]= *(int32_t*)s->current_picture.motion_val[0][mot_xy+2]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:685:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[2][3]= *(int32_t*)s->current_picture.motion_val[0][mot_xy+2+mot_stride]; ^~~~~~~~~~~~~~~~~~~~~~~~ CC libavcodec/mpegvideo_enc.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/mpegvideo_enc.c:33: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/mpegvideo_enc.c:34: libavcodec/mpegvideo_common.h: In function 'MPV_motion_internal': libavcodec/mpegvideo_common.h:673:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[1][0]= *(int32_t*)mv_cache[1][1]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:673:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[1][0]= *(int32_t*)mv_cache[1][1]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:674:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[2][0]= *(int32_t*)mv_cache[2][1]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:674:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[2][0]= *(int32_t*)mv_cache[2][1]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:676:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[1][0]= *(int32_t*)s->current_picture.motion_val[0][mot_xy-1]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:677:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[2][0]= *(int32_t*)s->current_picture.motion_val[0][mot_xy-1+mot_stride]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:681:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[1][3]= *(int32_t*)mv_cache[1][2]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:681:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[1][3]= *(int32_t*)mv_cache[1][2]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:682:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[2][3]= *(int32_t*)mv_cache[2][2]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:682:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[2][3]= *(int32_t*)mv_cache[2][2]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:684:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[1][3]= *(int32_t*)s->current_picture.motion_val[0][mot_xy+2]; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpegvideo_common.h:685:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t*)mv_cache[2][3]= *(int32_t*)s->current_picture.motion_val[0][mot_xy+2+mot_stride]; ^~~~~~~~~~~~~~~~~~~~~~~~ CC libavcodec/mpegvideo_parser.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/mpegvideo_parser.c:24: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/mpegvideo_parser.c: In function 'mpegvideo_extract_headers': libavcodec/mpegvideo_parser.c:35:9: warning: variable 'picture_structure' set but not used [-Wunused-but-set-variable] int picture_structure, top_field_first, repeat_first_field, progressive_frame; ^~~~~~~~~~~~~~~~~ CC libavcodec/msmpeg4.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/msmpeg4.c:32: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/msmpeg4.c: In function 'msmpeg4_decode_ext_header': libavcodec/msmpeg4.c:1555:13: warning: variable 'fps' set but not used [-Wunused-but-set-variable] int fps; ^~~ CC libavcodec/msmpeg4data.o In file included from libavcodec/msmpeg4data.h:34, from libavcodec/msmpeg4data.c:30: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/msrle.o CC libavcodec/msrledec.o CC libavcodec/msvideo1.o CC libavcodec/nellymoser.o libavcodec/msmpeg4.c: In function 'ff_msmpeg4_encode_block': libavcodec/msmpeg4.c:923:13: warning: 'extquant' may be used uninitialized in this function [-Wmaybe-uninitialized] put_bits(&s->pb, extrabits, extquant); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/msmpeg4.c:850:15: note: 'extquant' was declared here int pred, extquant; ^~~~~~~~ In file included from libavcodec/nellymoser.c:39: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/nellymoserdec.o In file included from libavcodec/nellymoserdec.c:42: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/nellymoserenc.o CC libavcodec/noise_bsf.o CC libavcodec/nuv.o CC libavcodec/opt.o libavcodec/nuv.c: In function 'copy_frame': libavcodec/nuv.c:74:26: warning: passing argument 2 of 'avpicture_fill' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] avpicture_fill(&pic, src, PIX_FMT_YUV420P, width, height); ^~~ In file included from libavcodec/nuv.c:26: libavcodec/avcodec.h:3038:49: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} int avpicture_fill(AVPicture *picture, uint8_t *ptr, ~~~~~~~~~^~~ CC libavcodec/options.o CC libavcodec/pamenc.o CC libavcodec/parser.o libavcodec/parser.c: In function 'av_parser_parse2': libavcodec/parser.c:178:47: warning: to be safe all intermediate pointers in cast from 'uint8_t **' {aka 'unsigned char **'} to 'const uint8_t **' {aka 'const unsigned char **'} must be 'const' qualified [-Wcast-qual] index = s->parser->parser_parse(s, avctx, (const uint8_t **)poutbuf, poutbuf_size, buf, buf_size); ^ libavcodec/parser.c: In function 'av_parser_change': libavcodec/parser.c:214:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] *poutbuf= (uint8_t *) buf; ^ CC libavcodec/pcm-mpeg.o CC libavcodec/pcm.o CC libavcodec/pcx.o CC libavcodec/pcxenc.o In file included from libavcodec/pcx.c:27: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/pgssubdec.o CC libavcodec/png.o CC libavcodec/pngdec.o CC libavcodec/pngenc.o CC libavcodec/pnm.o CC libavcodec/pnm_parser.o libavcodec/pngdec.c: In function 'png_decode_idat': libavcodec/pngdec.c:365:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] s->zstream.next_in = s->bytestream; ^ libavcodec/pngdec.c: In function 'decode_frame': libavcodec/pngdec.c:399:14: warning: variable 'crc' set but not used [-Wunused-but-set-variable] int ret, crc; ^~~ libavcodec/pngenc.c: In function 'png_write_row': libavcodec/pngenc.c:217:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] s->zstream.next_in = (uint8_t *)data; ^ libavcodec/pnm_parser.c: In function 'pnm_parse': libavcodec/pnm_parser.c:44:35: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] pnmctx.bytestream = (uint8_t *) buf; /* casts avoid warnings */ ^ libavcodec/pnm_parser.c:45:35: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] pnmctx.bytestream_end = (uint8_t *) buf + buf_size; ^ CC libavcodec/pnmdec.o CC libavcodec/pnmenc.o libavcodec/pnmdec.c: In function 'pnm_decode_frame': libavcodec/pnmdec.c:41:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] s->bytestream = buf; ^ libavcodec/pnmdec.c:42:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] s->bytestream_end = buf + buf_size; ^ CC libavcodec/psymodel.o CC libavcodec/pthread.o CC libavcodec/ptx.o In file included from ./libavutil/common.h:305, from ./libavutil/intmath.h:67, from libavcodec/mpegvideo.c:30: libavcodec/mpegvideo.c: In function 'ff_alloc_picture': ./libavutil/internal.h:187:9: warning: argument 1 value '4294967294' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] p = av_mallocz(size);\ ^~~~~~~~~~~~~~~~ libavcodec/mpegvideo.c:285:9: note: in expansion of macro 'FF_ALLOCZ_OR_GOTO' FF_ALLOCZ_OR_GOTO(s->avctx, pic->qscale_table , mb_array_size * sizeof(uint8_t) , fail) ^~~~~~~~~~~~~~~~~ In file included from ./libavutil/common.h:302, from ./libavutil/intmath.h:67, from libavcodec/mpegvideo.c:30: ./libavutil/mem.h:106:7: note: in a call to allocation function 'av_mallocz' declared here void *av_mallocz(unsigned int size) av_malloc_attrib av_alloc_size(1); ^~~~~~~~~~ CC libavcodec/qcelpdec.o CC libavcodec/qdm2.o CC libavcodec/qdrw.o In file included from libavcodec/qcelpdec.c:34: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/qdm2.c:39: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/qdm2.c: In function 'fill_coding_method_array': libavcodec/qdm2.c:655:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (ch = 0; ch < nb_channels; ch++) ^~~ libavcodec/qdm2.c:684:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' acc = 0; ^~~ CC libavcodec/qpeg.o CC libavcodec/qtrle.o CC libavcodec/qtrleenc.o libavcodec/qtrleenc.c: In function 'qtrle_encode_frame': libavcodec/qtrleenc.c:194:33: warning: 'bulkcount' may be used uninitialized in this function [-Wmaybe-uninitialized] s->rlecode_table[i] = bulkcount; ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ libavcodec/qtrleenc.c:116:18: note: 'bulkcount' was declared here unsigned int bulkcount; ^~~~~~~~~ CC libavcodec/r210dec.o CC libavcodec/ra144.o CC libavcodec/ra288.o In file included from libavcodec/ra288.c:24: libavcodec/get_bits.h: In function 'skip_bits': In file included from libavcodec/ra144.c:27: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/rangecoder.o libavcodec/rangecoder.c: In function 'ff_init_range_decoder': libavcodec/rangecoder.c:54:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ff_init_range_encoder(c, (uint8_t *) buf, buf_size); ^ libavcodec/rangecoder.c:56:34: warning: passing argument 1 of 'bytestream_get_be16' from incompatible pointer type [-Wincompatible-pointer-types] c->low = bytestream_get_be16(&c->bytestream); ^~~~~~~~~~~~~~ In file included from libavcodec/rangecoder.c:38: libavcodec/bytestream.h:30:70: note: expected 'const uint8_t **' {aka 'const unsigned char **'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} static av_always_inline type bytestream_get_ ## name(const uint8_t **b){\ ~~~~~~~~~~~~~~~~^ libavcodec/bytestream.h:40:5: note: in expansion of macro 'DEF_T' DEF_T(unsigned int, name, bytes, read, write) ^~~~~ libavcodec/bytestream.h:51:1: note: in expansion of macro 'DEF' DEF (be16, 2, AV_RB16, AV_WB16) ^~~ CC libavcodec/ratecontrol.o CC libavcodec/raw.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/ratecontrol.c:32: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/rawdec.o libavcodec/rawdec.c: In function 'raw_decode': libavcodec/rawdec.c:147:29: warning: passing argument 2 of 'avpicture_fill' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] avpicture_fill(picture, buf, avctx->pix_fmt, avctx->width, avctx->height); ^~~ In file included from libavcodec/rawdec.c:27: libavcodec/avcodec.h:3038:49: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} int avpicture_fill(AVPicture *picture, uint8_t *ptr, ~~~~~~~~~^~~ CC libavcodec/rawenc.o CC libavcodec/rdft.o CC libavcodec/remove_extradata_bsf.o CC libavcodec/resample.o libavcodec/remove_extradata_bsf.c: In function 'remove_extradata': libavcodec/remove_extradata_bsf.c:45:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] *poutbuf= (uint8_t *) buf; ^ CC libavcodec/resample2.o CC libavcodec/rl2.o CC libavcodec/rle.o CC libavcodec/roqaudioenc.o CC libavcodec/roqvideo.o CC libavcodec/roqvideodec.o CC libavcodec/roqvideoenc.o CC libavcodec/rpza.o CC libavcodec/rtjpeg.o In file included from libavcodec/rtjpeg.c:22: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/rv10.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/rv10.c:30: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/rv10.c: In function 'rv10_decode_picture_header': libavcodec/rv10.c:237:37: warning: variable 'unk' set but not used [-Wunused-but-set-variable] int mb_count, pb_frame, marker, unk, mb_xy; ^~~ CC libavcodec/rv10enc.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/rv10enc.c:28: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/rv20enc.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/rv20enc.c:28: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/rv30.o CC libavcodec/rv30dsp.o CC libavcodec/rv34.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/rv30.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/rv30.c: In function 'rv30_loop_filter': libavcodec/rv30.c:185:38: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] if(cur_cbp && (1 << ij)) ~~~^~~~~~ libavcodec/rv30.c:227:52: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] if(r->cbp_chroma[mb_pos] && (1 << ij)) ~~~^~~~~~ In file included from libavcodec/mpegvideo.h:32, from libavcodec/rv34.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/rv34.c: In function 'rv34_set_deblock_coef': libavcodec/rv34.c:1145:32: warning: initialization of 'int16_t (*)[2]' {aka 'short int (*)[2]'} from incompatible pointer type 'int16_t *' {aka 'short int *'} [-Wincompatible-pointer-types] int16_t (*motion_val)[2] = s->current_picture_ptr->motion_val[0][midx]; ^ CC libavcodec/rv40.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/rv40.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/rv40dsp.o CC libavcodec/s3tc.o CC libavcodec/sgidec.o CC libavcodec/sgienc.o CC libavcodec/shorten.o CC libavcodec/simple_idct.o In file included from libavcodec/shorten.c:32: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/shorten.c: In function 'decode_wave_header': libavcodec/shorten.c:190:9: warning: variable 'chunk_size' set but not used [-Wunused-but-set-variable] int chunk_size; ^~~~~~~~~~ In function 'decode_subframe_lpc', inlined from 'shorten_decode_frame' at libavcodec/shorten.c:432:33: libavcodec/shorten.c:256:9: warning: argument 1 value '4294967292' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] int coeffs[pred_order]; ^~~~~~ libavcodec/shorten.c: In function 'shorten_decode_frame': libavcodec/shorten.c:256:9: note: in a call to built-in allocation function '__builtin_alloca_with_align' CC libavcodec/sipr.o In file included from libavcodec/sipr.c:30: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/sipr16k.o CC libavcodec/smacker.o CC libavcodec/smc.o In file included from libavcodec/smacker.c:37: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/snow.o CC libavcodec/sonic.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/snow.c:30: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/sonic.c:22: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/sp5xdec.o At top level: libavcodec/snow.c:162:21: warning: 'quant13' defined but not used [-Wunused-const-variable=] static const int8_t quant13[256]={ ^~~~~~~ libavcodec/snow.c:144:21: warning: 'quant11' defined but not used [-Wunused-const-variable=] static const int8_t quant11[256]={ ^~~~~~~ libavcodec/snow.c:126:21: warning: 'quant9' defined but not used [-Wunused-const-variable=] static const int8_t quant9[256]={ ^~~~~~ libavcodec/snow.c:108:21: warning: 'quant7' defined but not used [-Wunused-const-variable=] static const int8_t quant7[256]={ ^~~~~~ libavcodec/snow.c:90:21: warning: 'quant5' defined but not used [-Wunused-const-variable=] static const int8_t quant5[256]={ ^~~~~~ libavcodec/snow.c:54:21: warning: 'quant3b' defined but not used [-Wunused-const-variable=] static const int8_t quant3b[256]={ ^~~~~~~ libavcodec/snow.c:36:21: warning: 'quant3' defined but not used [-Wunused-const-variable=] static const int8_t quant3[256]={ ^~~~~~ In file included from libavcodec/mjpegdec.h:33, from libavcodec/sp5xdec.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/sp5xdec.c: In function 'sp5x_decode_frame': libavcodec/sp5xdec.c:44:20: warning: variable 'buf_ptr' set but not used [-Wunused-but-set-variable] const uint8_t *buf_ptr; ^~~~~~~ CC libavcodec/sunrast.o CC libavcodec/svq1.o CC libavcodec/svq1dec.o CC libavcodec/svq1enc.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/svq1dec.c:39: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/svq1dec.c: In function 'svq1_decode_frame_header': libavcodec/svq1dec.c:570:7: warning: variable 'temporal_reference' set but not used [-Wunused-but-set-variable] int temporal_reference; ^~~~~~~~~~~~~~~~~~ libavcodec/svq1dec.c: In function 'svq1_decode_frame': libavcodec/svq1dec.c:665:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] uint32_t *src = (uint32_t *) (buf + 4); ^ CC libavcodec/svq3.o CC libavcodec/synth_filter.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/svq1enc.c:32: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/svq1enc.c: In function 'svq1_write_header': libavcodec/svq1enc.c:98:29: warning: passing argument 1 of 'ff_match_2uint16' from incompatible pointer type [-Wincompatible-pointer-types] i= ff_match_2uint16(ff_svq1_frame_size_table, FF_ARRAY_ELEMS(ff_svq1_frame_size_table), s->frame_width, s->frame_height); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from libavcodec/svq1enc.c:34: libavcodec/internal.h:49:39: note: expected 'const uint16_t (*)[2]' {aka 'const short unsigned int (*)[2]'} but argument is of type 'const struct svq1_frame_size *' int ff_match_2uint16(const uint16_t (*tab)[2], int size, int a, int b); ~~~~~~~~~~~~~~~~~^~~~~~~ CC libavcodec/targa.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/svq3.c:45: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/targaenc.o libavcodec/targa.c: In function 'decode_frame': libavcodec/targa.c:103:28: warning: variable 'x' set but not used [-Wunused-but-set-variable] int idlen, pal, compr, x, y, w, h, bpp, flags; ^ libavcodec/targa.c:103:16: warning: variable 'pal' set but not used [-Wunused-but-set-variable] int idlen, pal, compr, x, y, w, h, bpp, flags; ^~~ libavcodec/svq3.c: In function 'svq3_mc_dir': libavcodec/svq3.c:408:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t *) h->mv_cache[dir][scan8[k] + 1*8] = mv; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/svq3.c:411:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t *) h->mv_cache[dir][scan8[k] + 1 + 1*8] = mv; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/svq3.c:415:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t *) h->mv_cache[dir][scan8[k] + 1] = mv; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/svq3.c:418:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int32_t *) h->mv_cache[dir][scan8[k]] = mv; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/svq3.c: In function 'svq3_decode_mb': libavcodec/svq3.c:483:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(uint32_t *) h->mv_cache[m][scan8[0] - 1 + i*8] = *(uint32_t *) s->current_picture.motion_val[m][b_xy - 1 + i*h->b_stride]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/svq3.c:487:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(uint32_t *) h->mv_cache[m][scan8[0] - 1 + i*8] = 0; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/svq3.c:495:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(uint32_t *) h->mv_cache[m][scan8[0] + 4 - 1*8] = *(uint32_t *) s->current_picture.motion_val[m][b_xy - h->b_stride + 4]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/svq3.c:502:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(uint32_t *) h->mv_cache[m][scan8[0] - 1 - 1*8] = *(uint32_t *) s->current_picture.motion_val[m][b_xy - h->b_stride - 1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libavcodec/dsputil.h:33, from libavcodec/svq3.c:43: libavcodec/svq3.c: In function 'svq3_decode_slice_header': ./libavutil/intreadwrite.h:187:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] # define AV_WN(s, p, v) ((((union unaligned_##s *) (p))->l) = (v)) ^ ./libavutil/intreadwrite.h:332:26: note: in expansion of macro 'AV_WN' # define AV_WN32(p, v) AV_WN(32, p, v) ^~~~~ ./libavutil/intreadwrite.h:348:27: note: in expansion of macro 'AV_WN32' # define AV_WL(s, p, v) AV_WN##s(p, v) ^~~~~ ./libavutil/intreadwrite.h:382:26: note: in expansion of macro 'AV_WL' # define AV_WL32(p, v) AV_WL(32, p, v) ^~~~~ libavcodec/svq3.c:733:13: note: in expansion of macro 'AV_WL32' AV_WL32(&s->gb.buffer[(get_bits_count(&s->gb)>>3)+1], header ^ h->svq3_watermark_key); ^~~~~~~ libavcodec/svq3.c:736:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] memcpy((uint8_t *) &s->gb.buffer[get_bits_count(&s->gb) >> 3], ^ In file included from libavcodec/svq3.c:46: At top level: libavcodec/h264.h:1256:13: warning: 'decode_mb_skip' defined but not used [-Wunused-function] static void decode_mb_skip(H264Context *h){ ^~~~~~~~~~~~~~ CC libavcodec/tiertexseqv.o CC libavcodec/tiff.o In file included from libavcodec/tiertexseqv.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/tiff.c: In function 'tiff_uncompress': libavcodec/tiff.c:86:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] zstream.next_in = src; ^ CC libavcodec/tiffenc.o CC libavcodec/tmv.o CC libavcodec/truemotion1.o CC libavcodec/truemotion2.o In file included from libavcodec/truemotion2.c:28: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/truemotion2.c: In function 'tm2_read_header': libavcodec/truemotion2.c:216:36: warning: variable 'yr' set but not used [-Wunused-but-set-variable] int w, h, size, flags, xr, yr; ^~ libavcodec/truemotion2.c:216:32: warning: variable 'xr' set but not used [-Wunused-but-set-variable] int w, h, size, flags, xr, yr; ^~ libavcodec/truemotion2.c:216:25: warning: variable 'flags' set but not used [-Wunused-but-set-variable] int w, h, size, flags, xr, yr; ^~~~~ libavcodec/truemotion2.c:216:19: warning: variable 'size' set but not used [-Wunused-but-set-variable] int w, h, size, flags, xr, yr; ^~~~ libavcodec/truemotion2.c:216:16: warning: variable 'h' set but not used [-Wunused-but-set-variable] int w, h, size, flags, xr, yr; ^ libavcodec/truemotion2.c:216:13: warning: variable 'w' set but not used [-Wunused-but-set-variable] int w, h, size, flags, xr, yr; ^ libavcodec/truemotion2.c:205:9: warning: variable 'length' set but not used [-Wunused-but-set-variable] int length; ^~~~~~ CC libavcodec/truespeech.o CC libavcodec/tscc.o libavcodec/tscc.c: In function 'decode_frame': libavcodec/tscc.c:97:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] c->zstream.next_in = encoded; ^ libavcodec/tscc.c:76:20: warning: variable 'outptr' set but not used [-Wunused-but-set-variable] unsigned char *outptr; ^~~~~~ CC libavcodec/tta.o CC libavcodec/twinvq.o In file included from libavcodec/tta.c:34: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/twinvq.c:23: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/txd.o CC libavcodec/ulti.o CC libavcodec/utils.o libavcodec/utils.c: In function 'avcodec_encode_audio': libavcodec/utils.c:544:62: warning: passing argument 4 of 'avctx->codec->encode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] int ret = avctx->codec->encode(avctx, buf, buf_size, samples); ^~~~~~~ libavcodec/utils.c:544:62: note: expected 'void *' but argument is of type 'const short int *' libavcodec/utils.c: In function 'avcodec_encode_video': libavcodec/utils.c:561:62: warning: passing argument 4 of 'avctx->codec->encode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] int ret = avctx->codec->encode(avctx, buf, buf_size, pict); ^~~~ libavcodec/utils.c:561:62: note: expected 'void *' but argument is of type 'const AVFrame *' {aka 'const struct AVFrame *'} libavcodec/utils.c: In function 'avcodec_encode_subtitle': libavcodec/utils.c:580:54: warning: passing argument 4 of 'avctx->codec->encode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ret = avctx->codec->encode(avctx, buf, buf_size, sub); ^~~ libavcodec/utils.c:580:54: note: expected 'void *' but argument is of type 'const AVSubtitle *' {aka 'const struct AVSubtitle *'} libavcodec/utils.c: In function 'avcodec_decode_video': libavcodec/utils.c:592:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] avpkt.data = buf; ^ libavcodec/utils.c: In function 'avcodec_decode_audio2': libavcodec/utils.c:631:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] avpkt.data = buf; ^ libavcodec/utils.c: In function 'avcodec_decode_subtitle': libavcodec/utils.c:672:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] avpkt.data = buf; ^ libavcodec/utils.c: In function 'av_parse_video_frame_size': libavcodec/utils.c:1179:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] p = str; ^ CC libavcodec/v210dec.o CC libavcodec/v210enc.o CC libavcodec/v210x.o CC libavcodec/vb.o libavcodec/v210enc.c: In function 'encode_frame': libavcodec/v210enc.c:93:17: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] val |=((*u++ & 0xFFC0) << 4) | ^~ CC libavcodec/vc1.o CC libavcodec/vc1_parser.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/vc1.c:31: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ In file included from libavcodec/mpegvideo.h:32, from libavcodec/vc1.h:27, from libavcodec/vc1_parser.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/vc1data.o CC libavcodec/vc1dec.o CC libavcodec/vc1dsp.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/vc1.h:27, from libavcodec/vc1data.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/vcr1.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/vc1dec.c:31: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/vmdav.o libavcodec/vc1dec.c: In function 'vc1_decode_p_mb': libavcodec/vc1dec.c:2319:48: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if(!coded_inter) coded_inter = !is_intra[i] & is_coded[i]; ^~~~~~~~~~~~ libavcodec/vmdav.c: In function 'vmd_decode': libavcodec/vmdav.c:202:9: warning: variable 'dp_size' set but not used [-Wunused-but-set-variable] int dp_size; ^~~~~~~ libavcodec/vmdav.c: In function 'vmdaudio_loadsound': libavcodec/vmdav.c:478:9: warning: variable 'bytes_decoded' set but not used [-Wunused-but-set-variable] int bytes_decoded = 0; ^~~~~~~~~~~~~ At top level: libavcodec/vc1dec.c:48:23: warning: 'table_mb_intra' defined but not used [-Wunused-const-variable=] static const uint16_t table_mb_intra[64][2]; ^~~~~~~~~~~~~~ CC libavcodec/vmnc.o CC libavcodec/vorbis.o CC libavcodec/vorbis_data.o In file included from libavcodec/vorbis.c:28: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/vorbis_dec.o CC libavcodec/vp3.o In file included from libavcodec/vorbis_dec.c:31: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/vp3_parser.o In file included from libavcodec/vp3.c:38: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/vp3dsp.o libavcodec/vorbis_dec.c: In function 'vorbis_decode_init': libavcodec/vorbis_dec.c:576:38: warning: 'book_idx' may be used uninitialized in this function [-Wmaybe-uninitialized] if (vc->codebooks[book_idx].dimensions > max_codebook_dim) ^ libavcodec/vorbis_dec.c:573:30: note: 'book_idx' was declared here uint_fast8_t book_idx; ^~~~~~~~ CC libavcodec/vp5.o In file included from libavcodec/vp5.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/vp56.o In file included from libavcodec/vp56.h:29, from libavcodec/vp56.c:27: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/vp56data.o CC libavcodec/vp56dsp.o CC libavcodec/vp6.o CC libavcodec/vp6dsp.o In file included from libavcodec/vp6.c:32: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/vqavideo.o CC libavcodec/wavpack.o In file included from libavcodec/wavpack.c:23: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/wma.o In file included from libavcodec/wma.h:25, from libavcodec/wma.c:23: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/wmadec.o In file included from libavcodec/wma.h:25, from libavcodec/wmadec.c:37: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/wmadec.c: In function 'wma_decode_frame': libavcodec/wmadec.c:810:51: warning: to be safe all intermediate pointers in cast from 'float **' to 'const float **' must be 'const' qualified [-Wcast-qual] s->dsp.float_to_int16_interleave(samples, (const float **)output, n, incr); ^ CC libavcodec/wmaenc.o In file included from libavcodec/wma.h:25, from libavcodec/wmaenc.c:23: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/wmaprodec.o CC libavcodec/wmavoice.o In file included from libavcodec/wmaprodec.c:91: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/wmaprodec.c: In function 'decode_frame': libavcodec/wmaprodec.c:1312:13: warning: variable 'skip' set but not used [-Wunused-but-set-variable] int skip; ^~~~ In file included from libavcodec/wmavoice.c:30: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/wmv2.o CC libavcodec/wmv2dec.o libavcodec/wmavoice.c: In function 'decode_vbmtree': libavcodec/wmavoice.c:317:34: warning: 'sizeof' on array function parameter 'vbm_tree' will return size of 'int8_t *' {aka 'signed char *'} [-Wsizeof-array-argument] memset(vbm_tree, 0xff, sizeof(vbm_tree)); ^ libavcodec/wmavoice.c:298:61: note: declared here static av_cold int decode_vbmtree(GetBitContext *gb, int8_t vbm_tree[25]) ~~~~~~~^~~~~~~~~~~~ libavcodec/wmavoice.c:317:34: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] memset(vbm_tree, 0xff, sizeof(vbm_tree)); ^ In file included from libavcodec/mpegvideo.h:32, from libavcodec/wmv2.c:22: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/wmavoice.c: In function 'synth_block_fcb_acb': libavcodec/wmavoice.c:1345:31: warning: passing argument 1 of 'av_memcpy_backptr' from incompatible pointer type [-Wincompatible-pointer-types] av_memcpy_backptr(excitation, sizeof(float) * block_pitch, ^~~~~~~~~~ In file included from libavcodec/wmavoice.c:38: ./libavutil/lzo.h:64:33: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'float *' void av_memcpy_backptr(uint8_t *dst, int back, int cnt); ~~~~~~~~~^~~ libavcodec/wmavoice.c: In function 'wmavoice_decode_packet': libavcodec/wmavoice.c:1904:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'unsigned int' [-Wformat=] "Output buffer too small (%d given - %lu needed)\n", ~~^ %u *data_size, 480 * sizeof(float)); ~~~~~~~~~~~~~~~~~~~ In file included from libavcodec/mpegvideo.h:32, from libavcodec/wmv2dec.c:23: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/wmv2enc.o In file included from libavcodec/mpegvideo.h:32, from libavcodec/wmv2enc.c:23: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/wnv1.o CC libavcodec/ws-snd1.o In file included from libavcodec/wnv1.c:28: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/wmavoice.c: In function 'postfilter.constprop': libavcodec/wmavoice.c:514:11: warning: 'best_hist_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] dot = ff_dot_productf(best_hist_ptr, best_hist_ptr, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/wmavoice.c:501:18: note: 'best_hist_ptr' was declared here *best_hist_ptr; ^~~~~~~~~~~~~ CC libavcodec/x86/mlpdsp.o CC libavcodec/xan.o CC libavcodec/xiph.o CC libavcodec/xl.o In file included from libavcodec/xan.c:39: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ libavcodec/xan.c: In function 'xan_decode_frame': libavcodec/xan.c:364:5: warning: 'AVPaletteControl' is deprecated [-Wdeprecated-declarations] AVPaletteControl *palette_control = avctx->palctrl; ^~~~~~~~~~~~~~~~ In file included from libavcodec/xan.c:36: libavcodec/avcodec.h:2808:16: note: declared here typedef struct AVPaletteControl { ^~~~~~~~~~~~~~~~ CC libavcodec/xsubdec.o CC libavcodec/xsubenc.o In file included from libavcodec/xsubdec.c:22: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/yop.o In file included from libavcodec/yop.c:29: libavcodec/get_bits.h: In function 'skip_bits': libavcodec/get_bits.h:387:17: warning: variable 're_cache' set but not used [-Wunused-but-set-variable] OPEN_READER(re, s) ^~ libavcodec/get_bits.h:135:13: note: in definition of macro 'OPEN_READER' int name##_cache= 0;\ ^~~~ CC libavcodec/zmbv.o CC libavcodec/zmbvenc.o libavcodec/wmavoice.c: In function 'synth_superframe': libavcodec/wmavoice.c:1490:48: warning: 'last_block_pitch' may be used uninitialized in this function [-Wmaybe-uninitialized] block_pitch = last_block_pitch - s->block_delta_pitch_hrange + ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/wmavoice.c:1420:28: note: 'last_block_pitch' was declared here int pitch[MAX_BLOCKS], last_block_pitch; ^~~~~~~~~~~~~~~~ libavcodec/wmavoice.c:1566:27: warning: 'cur_pitch_val' may be used uninitialized in this function [-Wmaybe-uninitialized] s->last_pitch_val = cur_pitch_val; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ libavcodec/wmavoice.c:1419:42: note: 'cur_pitch_val' was declared here int n, n_blocks_x2, log_n_blocks_x2, cur_pitch_val; ^~~~~~~~~~~~~ CC libavutil/adler32.o CC libavutil/aes.o CC libavutil/avstring.o libavcodec/zmbv.c: In function 'decode_frame': libavcodec/zmbv.c:497:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] c->zstream.next_in = buf; ^ libavcodec/zmbv.c:400:14: warning: variable 'outptr' set but not used [-Wunused-but-set-variable] uint8_t *outptr; ^~~~~~ libavutil/avstring.c: In function 'av_stristr': libavutil/avstring.c:54:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return s1; ^~ libavutil/avstring.c:58:20: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return s1; ^~ libavutil/aes.c: In function 'subshift': libavutil/aes.c:56:24: warning: initialization of 'uint8_t (*)[16]' {aka 'unsigned char (*)[16]'} from incompatible pointer type 'uint8_t *' {aka 'unsigned char *'} [-Wincompatible-pointer-types] uint8_t (*s1)[16]= s0[0] - s; ^~ libavutil/aes.c:57:24: warning: initialization of 'uint8_t (*)[16]' {aka 'unsigned char (*)[16]'} from incompatible pointer type 'uint8_t *' {aka 'unsigned char *'} [-Wincompatible-pointer-types] uint8_t (*s3)[16]= s0[0] + s; ^~ libavutil/aes.c: In function 'crypt': libavutil/aes.c:84:23: warning: passing argument 2 of 'mix' from incompatible pointer type [-Wincompatible-pointer-types] mix(a->state, multbl, 3-s, 1+s); ^~~~~~ libavutil/aes.c:73:57: note: expected 'uint32_t (*)[256]' {aka 'unsigned int (*)[256]'} but argument is of type 'const uint32_t *' {aka 'const unsigned int *'} static inline void mix(uint8_t state[2][4][4], uint32_t multbl[4][256], int s1, int s3){ ~~~~~~~~~^~~~~~~~~~~~~~ libavutil/aes.c:85:24: warning: passing argument 1 of 'addkey' from incompatible pointer type [-Wincompatible-pointer-types] addkey(a->state[1], a->state[0], a->round_key[r]); ~~~~~~~~^~~ libavutil/aes.c:50:36: note: expected 'uint64_t *' {aka 'long long unsigned int *'} but argument is of type 'uint8_t (*)[4]' {aka 'unsigned char (*)[4]'} static inline void addkey(uint64_t dst[2], const uint64_t src[2], const uint64_t round_key[2]){ ~~~~~~~~~^~~~~~ libavutil/aes.c:85:37: warning: passing argument 2 of 'addkey' from incompatible pointer type [-Wincompatible-pointer-types] addkey(a->state[1], a->state[0], a->round_key[r]); ~~~~~~~~^~~ libavutil/aes.c:50:59: note: expected 'const uint64_t *' {aka 'const long long unsigned int *'} but argument is of type 'uint8_t (*)[4]' {aka 'unsigned char (*)[4]'} static inline void addkey(uint64_t dst[2], const uint64_t src[2], const uint64_t round_key[2]){ ~~~~~~~~~~~~~~~^~~~~~ libavutil/aes.c:85:54: warning: passing argument 3 of 'addkey' from incompatible pointer type [-Wincompatible-pointer-types] addkey(a->state[1], a->state[0], a->round_key[r]); ~~~~~~~~~~~~^~~ libavutil/aes.c:50:82: note: expected 'const uint64_t *' {aka 'const long long unsigned int *'} but argument is of type 'uint8_t (*)[4]' {aka 'unsigned char (*)[4]'} static inline void addkey(uint64_t dst[2], const uint64_t src[2], const uint64_t round_key[2]){ ~~~~~~~~~~~~~~~^~~~~~~~~~~~ libavutil/aes.c:87:25: warning: passing argument 1 of 'subshift' from incompatible pointer type [-Wincompatible-pointer-types] subshift(a->state[0][0], s, sbox); ~~~~~~~~~~~^~~ libavutil/aes.c:55:30: note: expected 'uint8_t (*)[16]' {aka 'unsigned char (*)[16]'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} static void subshift(uint8_t s0[2][16], int s, const uint8_t *box){ ~~~~~~~~^~~~~~~~~ libavutil/aes.c: In function 'av_aes_crypt': libavutil/aes.c:92:24: warning: passing argument 1 of 'addkey' from incompatible pointer type [-Wincompatible-pointer-types] addkey(a->state[1], src, a->round_key[a->rounds]); ~~~~~~~~^~~ libavutil/aes.c:50:36: note: expected 'uint64_t *' {aka 'long long unsigned int *'} but argument is of type 'uint8_t (*)[4]' {aka 'unsigned char (*)[4]'} static inline void addkey(uint64_t dst[2], const uint64_t src[2], const uint64_t round_key[2]){ ~~~~~~~~~^~~~~~ libavutil/aes.c:92:29: warning: passing argument 2 of 'addkey' from incompatible pointer type [-Wincompatible-pointer-types] addkey(a->state[1], src, a->round_key[a->rounds]); ^~~ libavutil/aes.c:50:59: note: expected 'const uint64_t *' {aka 'const long long unsigned int *'} but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} static inline void addkey(uint64_t dst[2], const uint64_t src[2], const uint64_t round_key[2]){ ~~~~~~~~~~~~~~~^~~~~~ libavutil/aes.c:92:46: warning: passing argument 3 of 'addkey' from incompatible pointer type [-Wincompatible-pointer-types] addkey(a->state[1], src, a->round_key[a->rounds]); ~~~~~~~~~~~~^~~~~~~~~~~ libavutil/aes.c:50:82: note: expected 'const uint64_t *' {aka 'const long long unsigned int *'} but argument is of type 'uint8_t (*)[4]' {aka 'unsigned char (*)[4]'} static inline void addkey(uint64_t dst[2], const uint64_t src[2], const uint64_t round_key[2]){ ~~~~~~~~~~~~~~~^~~~~~~~~~~~ libavutil/aes.c:94:35: warning: passing argument 4 of 'crypt' from incompatible pointer type [-Wincompatible-pointer-types] crypt(a, 0, inv_sbox, dec_multbl); ^~~~~~~~~~ libavutil/aes.c:80:80: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'uint32_t (*)[256]' {aka 'unsigned int (*)[256]'} static inline void crypt(AVAES *a, int s, const uint8_t *sbox, const uint32_t *multbl){ ~~~~~~~~~~~~~~~~^~~~~~ libavutil/aes.c:96:32: warning: passing argument 1 of 'addkey' from incompatible pointer type [-Wincompatible-pointer-types] addkey(a->state[0], a->state[0], iv); ~~~~~~~~^~~ libavutil/aes.c:50:36: note: expected 'uint64_t *' {aka 'long long unsigned int *'} but argument is of type 'uint8_t (*)[4]' {aka 'unsigned char (*)[4]'} static inline void addkey(uint64_t dst[2], const uint64_t src[2], const uint64_t round_key[2]){ ~~~~~~~~~^~~~~~ libavutil/aes.c:96:45: warning: passing argument 2 of 'addkey' from incompatible pointer type [-Wincompatible-pointer-types] addkey(a->state[0], a->state[0], iv); ~~~~~~~~^~~ libavutil/aes.c:50:59: note: expected 'const uint64_t *' {aka 'const long long unsigned int *'} but argument is of type 'uint8_t (*)[4]' {aka 'unsigned char (*)[4]'} static inline void addkey(uint64_t dst[2], const uint64_t src[2], const uint64_t round_key[2]){ ~~~~~~~~~~~~~~~^~~~~~ libavutil/aes.c:96:50: warning: passing argument 3 of 'addkey' from incompatible pointer type [-Wincompatible-pointer-types] addkey(a->state[0], a->state[0], iv); ^~ libavutil/aes.c:50:82: note: expected 'const uint64_t *' {aka 'const long long unsigned int *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} static inline void addkey(uint64_t dst[2], const uint64_t src[2], const uint64_t round_key[2]){ ~~~~~~~~~~~~~~~^~~~~~~~~~~~ libavutil/aes.c:99:20: warning: passing argument 1 of 'addkey' from incompatible pointer type [-Wincompatible-pointer-types] addkey(dst, a->state[0], a->round_key[0]); ^~~ libavutil/aes.c:50:36: note: expected 'uint64_t *' {aka 'long long unsigned int *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} static inline void addkey(uint64_t dst[2], const uint64_t src[2], const uint64_t round_key[2]){ ~~~~~~~~~^~~~~~ libavutil/aes.c:99:33: warning: passing argument 2 of 'addkey' from incompatible pointer type [-Wincompatible-pointer-types] addkey(dst, a->state[0], a->round_key[0]); ~~~~~~~~^~~ libavutil/aes.c:50:59: note: expected 'const uint64_t *' {aka 'const long long unsigned int *'} but argument is of type 'uint8_t (*)[4]' {aka 'unsigned char (*)[4]'} static inline void addkey(uint64_t dst[2], const uint64_t src[2], const uint64_t round_key[2]){ ~~~~~~~~~~~~~~~^~~~~~ libavutil/aes.c:99:50: warning: passing argument 3 of 'addkey' from incompatible pointer type [-Wincompatible-pointer-types] addkey(dst, a->state[0], a->round_key[0]); ~~~~~~~~~~~~^~~ libavutil/aes.c:50:82: note: expected 'const uint64_t *' {aka 'const long long unsigned int *'} but argument is of type 'uint8_t (*)[4]' {aka 'unsigned char (*)[4]'} static inline void addkey(uint64_t dst[2], const uint64_t src[2], const uint64_t round_key[2]){ ~~~~~~~~~~~~~~~^~~~~~~~~~~~ libavutil/aes.c:101:35: warning: passing argument 1 of 'addkey' from incompatible pointer type [-Wincompatible-pointer-types] if(iv) addkey(a->state[1], a->state[1], iv); ~~~~~~~~^~~ libavutil/aes.c:50:36: note: expected 'uint64_t *' {aka 'long long unsigned int *'} but argument is of type 'uint8_t (*)[4]' {aka 'unsigned char (*)[4]'} static inline void addkey(uint64_t dst[2], const uint64_t src[2], const uint64_t round_key[2]){ ~~~~~~~~~^~~~~~ libavutil/aes.c:101:48: warning: passing argument 2 of 'addkey' from incompatible pointer type [-Wincompatible-pointer-types] if(iv) addkey(a->state[1], a->state[1], iv); ~~~~~~~~^~~ libavutil/aes.c:50:59: note: expected 'const uint64_t *' {aka 'const long long unsigned int *'} but argument is of type 'uint8_t (*)[4]' {aka 'unsigned char (*)[4]'} static inline void addkey(uint64_t dst[2], const uint64_t src[2], const uint64_t round_key[2]){ ~~~~~~~~~~~~~~~^~~~~~ libavutil/aes.c:101:53: warning: passing argument 3 of 'addkey' from incompatible pointer type [-Wincompatible-pointer-types] if(iv) addkey(a->state[1], a->state[1], iv); ^~ libavutil/aes.c:50:82: note: expected 'const uint64_t *' {aka 'const long long unsigned int *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} static inline void addkey(uint64_t dst[2], const uint64_t src[2], const uint64_t round_key[2]){ ~~~~~~~~~~~~~~~^~~~~~~~~~~~ libavutil/aes.c:102:35: warning: passing argument 4 of 'crypt' from incompatible pointer type [-Wincompatible-pointer-types] crypt(a, 2, sbox, enc_multbl); ^~~~~~~~~~ libavutil/aes.c:80:80: note: expected 'const uint32_t *' {aka 'const unsigned int *'} but argument is of type 'uint32_t (*)[256]' {aka 'unsigned int (*)[256]'} static inline void crypt(AVAES *a, int s, const uint8_t *sbox, const uint32_t *multbl){ ~~~~~~~~~~~~~~~~^~~~~~ libavutil/aes.c:103:20: warning: passing argument 1 of 'addkey' from incompatible pointer type [-Wincompatible-pointer-types] addkey(dst, a->state[0], a->round_key[0]); ^~~ libavutil/aes.c:50:36: note: expected 'uint64_t *' {aka 'long long unsigned int *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} static inline void addkey(uint64_t dst[2], const uint64_t src[2], const uint64_t round_key[2]){ ~~~~~~~~~^~~~~~ libavutil/aes.c:103:33: warning: passing argument 2 of 'addkey' from incompatible pointer type [-Wincompatible-pointer-types] addkey(dst, a->state[0], a->round_key[0]); ~~~~~~~~^~~ libavutil/aes.c:50:59: note: expected 'const uint64_t *' {aka 'const long long unsigned int *'} but argument is of type 'uint8_t (*)[4]' {aka 'unsigned char (*)[4]'} static inline void addkey(uint64_t dst[2], const uint64_t src[2], const uint64_t round_key[2]){ ~~~~~~~~~~~~~~~^~~~~~ libavutil/aes.c:103:50: warning: passing argument 3 of 'addkey' from incompatible pointer type [-Wincompatible-pointer-types] addkey(dst, a->state[0], a->round_key[0]); ~~~~~~~~~~~~^~~ libavutil/aes.c:50:82: note: expected 'const uint64_t *' {aka 'const long long unsigned int *'} but argument is of type 'uint8_t (*)[4]' {aka 'unsigned char (*)[4]'} static inline void addkey(uint64_t dst[2], const uint64_t src[2], const uint64_t round_key[2]){ ~~~~~~~~~~~~~~~^~~~~~~~~~~~ libavutil/aes.c: In function 'av_aes_init': libavutil/aes.c:149:32: warning: passing argument 1 of 'init_multbl2' from incompatible pointer type [-Wincompatible-pointer-types] init_multbl2(dec_multbl[0], (const int[4]){0xe, 0x9, 0xd, 0xb}, log8, alog8, inv_sbox); ~~~~~~~~~~^~~ libavutil/aes.c:111:34: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint32_t *' {aka 'unsigned int *'} static void init_multbl2(uint8_t tbl[1024], const int c[4], const uint8_t *log8, const uint8_t *alog8, const uint8_t *sbox){ ~~~~~~~~^~~~~~~~~ libavutil/aes.c:150:32: warning: passing argument 1 of 'init_multbl2' from incompatible pointer type [-Wincompatible-pointer-types] init_multbl2(enc_multbl[0], (const int[4]){0x2, 0x1, 0x1, 0x3}, log8, alog8, sbox); ~~~~~~~~~~^~~ libavutil/aes.c:111:34: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint32_t *' {aka 'unsigned int *'} static void init_multbl2(uint8_t tbl[1024], const int c[4], const uint8_t *log8, const uint8_t *alog8, const uint8_t *sbox){ ~~~~~~~~^~~~~~~~~ libavutil/aes.c:180:25: warning: passing argument 1 of 'subshift' from incompatible pointer type [-Wincompatible-pointer-types] subshift(tmp[1], 0, sbox); ~~~^~~ libavutil/aes.c:55:30: note: expected 'uint8_t (*)[16]' {aka 'unsigned char (*)[16]'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} static void subshift(uint8_t s0[2][16], int s, const uint8_t *box){ ~~~~~~~~^~~~~~~~~ libavutil/aes.c:181:17: warning: passing argument 1 of 'mix' from incompatible pointer type [-Wincompatible-pointer-types] mix(tmp, dec_multbl, 1, 3); ^~~ libavutil/aes.c:73:32: note: expected 'uint8_t (*)[4][4]' {aka 'unsigned char (*)[4][4]'} but argument is of type 'uint8_t (*)[16]' {aka 'unsigned char (*)[16]'} static inline void mix(uint8_t state[2][4][4], uint32_t multbl[4][256], int s1, int s3){ ~~~~~~~~^~~~~~~~~~~~~~ libavcodec/zmbvenc.c: In function 'encode_frame': libavcodec/zmbvenc.c:184:21: warning: variable 'bv' set but not used [-Wunused-but-set-variable] int mx, my, bv; ^~ In file included from libavutil/aes.c:23: libavutil/aes.c:187:77: warning: iteration 4 invokes undefined behavior [-Waggressive-loop-optimizations] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:44: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:186:13: note: within this loop for(j=0; j<16; j++) ^~~ CC libavutil/base64.o libavutil/aes.c:133:22: warning: array subscript 1023 is above array bounds of 'uint32_t[256]' {aka 'unsigned int[256]'} [-Warray-bounds] if(!enc_multbl[0][sizeof(enc_multbl)/sizeof(enc_multbl[0][0])-1]){ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libavutil/aes.c:23: libavutil/aes.c:187:77: warning: array subscript 4 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:44: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 4 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:50: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 4 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:47: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 4 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:53: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 5 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:44: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 5 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:50: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 5 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:47: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 5 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:53: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 6 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:44: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 6 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:50: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 6 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:47: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 6 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:53: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 7 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:44: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 7 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:50: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 7 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:47: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 7 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:53: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 8 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:44: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 8 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:50: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 8 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:47: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 8 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:53: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 9 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:44: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 9 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:50: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 9 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:47: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 9 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:53: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 10 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:44: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 10 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:50: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 10 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:47: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 10 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:53: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 11 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:44: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 11 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:50: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 11 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:47: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 11 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:53: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 12 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:44: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 12 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:50: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 12 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:47: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 12 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:53: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 13 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:44: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 13 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:50: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 13 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:47: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 13 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:53: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 14 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:44: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 14 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:50: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 14 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:47: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 14 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:53: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 15 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:44: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 15 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:50: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:77: warning: array subscript 15 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:47: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ libavutil/aes.c:187:47: warning: array subscript 15 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds] FFSWAP(int, a->round_key[i][0][j], a->round_key[rounds-i][0][j]); ~~~~~~~~~~~~~~~~~~^~~ libavutil/common.h:51:53: note: in definition of macro 'FFSWAP' #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) ^ CC libavutil/crc.o CC libavutil/des.o CC libavutil/error.o CC libavutil/fifo.o libavutil/des.c:43:22: warning: 'P_shuffle' defined but not used [-Wunused-const-variable=] static const uint8_t P_shuffle[] = { ^~~~~~~~~ CC libavutil/intfloat_readwrite.o CC libavutil/lfg.o CC libavutil/lls.o CC libavutil/log.o CC libavutil/lzo.o CC libavutil/mathematics.o CC libavutil/md5.o CC libavutil/mem.o CC libavutil/pixdesc.o CC libavutil/random_seed.o CC libavutil/rational.o CC libavutil/rc4.o CC libavutil/sha.o CC libavutil/tree.o CC libavutil/utils.o CC libavfilter/allfilters.o CC libavfilter/avfilter.o CC libavfilter/avfiltergraph.o CC libavfilter/defaults.o CC libavfilter/formats.o CC libavfilter/graphparser.o libavfilter/avfiltergraph.c: In function 'query_formats': libavfilter/avfiltergraph.c:134:82: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] snprintf(inst_name, sizeof(inst_name), "auto-inserted scaler %d", ^~ libavfilter/avfiltergraph.c:134:60: note: directive argument in the range [0, 2147483647] snprintf(inst_name, sizeof(inst_name), "auto-inserted scaler %d", ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ./libavutil/common.h:34, from ./libavutil/avutil.h:81, from libavfilter/avfilter.h:25, from libavfilter/avfiltergraph.c:26: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 23 and 32 bytes into a destination of size 30 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavfilter/parseutils.o CC libavfilter/vf_aspect.o CC libavfilter/vf_crop.o CC libavfilter/vf_format.o CC libavfilter/vf_null.o CC libavfilter/vf_scale.o CC libavfilter/vf_slicify.o CC libavfilter/vf_unsharp.o CC libavfilter/vf_vflip.o CC libavfilter/vsink_nullsink.o libavfilter/vf_scale.c: In function 'draw_slice': libavfilter/vf_scale.c:177:35: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] out_h = sws_scale(scale->sws, data, cur_pic->linesize, y, h, ^~~~ In file included from libavfilter/vf_scale.c:28: ./libswscale/swscale.h:195:64: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} int sws_scale(struct SwsContext *context, const uint8_t* const srcSlice[], const int srcStride[], ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ CC libavfilter/vsrc_nullsrc.o CC libswscale/options.o CC libswscale/rgb2rgb.o CC libswscale/swscale.o CC libswscale/utils.o CC libswscale/yuv2rgb.o In file included from /usr/include/inttypes.h:25, from libswscale/utils.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ AR libavformat/libavformat.a AR libavcodec/libavcodec.a libswscale/utils.c: In function 'sws_getContext': libswscale/utils.c:975:91: warning: passing argument 5 of 'initMMX2HScaler' from incompatible pointer type [-Wincompatible-pointer-types] initMMX2HScaler( dstW, c->lumXInc, c->lumMmx2FilterCode, c->hLumFilter, c->hLumFilterPos, 8); ~^~~~~~~~~~~~~~~ libswscale/utils.c:509:95: note: expected 'int32_t *' {aka 'int *'} but argument is of type 'int16_t *' {aka 'short int *'} static int initMMX2HScaler(int dstW, int xInc, uint8_t *filterCode, int16_t *filter, int32_t *filterPos, int numSplits) ~~~~~~~~~^~~~~~~~~ libswscale/utils.c:976:91: warning: passing argument 5 of 'initMMX2HScaler' from incompatible pointer type [-Wincompatible-pointer-types] initMMX2HScaler(c->chrDstW, c->chrXInc, c->chrMmx2FilterCode, c->hChrFilter, c->hChrFilterPos, 4); ~^~~~~~~~~~~~~~~ libswscale/utils.c:509:95: note: expected 'int32_t *' {aka 'int *'} but argument is of type 'int16_t *' {aka 'short int *'} static int initMMX2HScaler(int dstW, int xInc, uint8_t *filterCode, int16_t *filter, int32_t *filterPos, int numSplits) ~~~~~~~~~^~~~~~~~~ In file included from libswscale/swscale.c:1186: libswscale/swscale_template.c: In function 'swScale_C': libswscale/swscale_template.c:2734:40: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **lumSrcPtr= (const int16_t **) lumPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize; ^ libswscale/swscale_template.c:2735:40: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **chrSrcPtr= (const int16_t **) chrPixBuf + chrBufIndex + firstChrSrcY - lastInChrBuf + vChrBufSize; ^ libswscale/swscale_template.c:2736:78: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **alpSrcPtr= (CONFIG_SWSCALE_ALPHA && alpPixBuf) ? (const int16_t **) alpPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize : NULL; ^ libswscale/swscale_template.c:2858:40: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **lumSrcPtr= (const int16_t **)lumPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize; ^ libswscale/swscale_template.c:2859:40: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **chrSrcPtr= (const int16_t **)chrPixBuf + chrBufIndex + firstChrSrcY - lastInChrBuf + vChrBufSize; ^ libswscale/swscale_template.c:2860:78: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **alpSrcPtr= (CONFIG_SWSCALE_ALPHA && alpPixBuf) ? (const int16_t **)alpPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize : NULL; ^ libswscale/swscale_template.c: In function 'sws_init_swScale_C': libswscale/swscale_template.c:2965:44: warning: assignment to 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, long int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, long int, unsigned int *)'} from incompatible pointer type 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_RGB48LE: c->chrToYV12 = rgb48ToUV_half; break; ^ libswscale/swscale_template.c:2980:44: warning: assignment to 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, long int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, long int, unsigned int *)'} from incompatible pointer type 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_RGB48LE: c->chrToYV12 = rgb48ToUV; break; ^ libswscale/swscale_template.c:3025:40: warning: assignment to 'void (*)(uint8_t *, const uint8_t *, long int, uint32_t *)' {aka 'void (*)(unsigned char *, const unsigned char *, long int, unsigned int *)'} from incompatible pointer type 'void (*)(uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_RGB48LE: c->lumToYV12 = rgb48ToY; break; ^ libswscale/yuv2rgb.c: In function 'ff_yuv2rgb_c_init_tables': libswscale/yuv2rgb.c:754:51: warning: passing argument 4 of 'fill_table' from incompatible pointer type [-Wincompatible-pointer-types] fill_table(c->table_rV, 2, crv, y_table16 + yoffs); ~~~~~~~~~~^~~~~~~ libswscale/yuv2rgb.c:598:89: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint16_t *' {aka 'short unsigned int *'} static void fill_table(uint8_t* table[256], const int elemsize, const int inc, uint8_t *y_table) ~~~~~~~~~^~~~~~~ libswscale/yuv2rgb.c:755:59: warning: passing argument 4 of 'fill_table' from incompatible pointer type [-Wincompatible-pointer-types] fill_table(c->table_gU, 2, cgu, y_table16 + yoffs + 1024); ~~~~~~~~~~~~~~~~~~^~~~~~ libswscale/yuv2rgb.c:598:89: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint16_t *' {aka 'short unsigned int *'} static void fill_table(uint8_t* table[256], const int elemsize, const int inc, uint8_t *y_table) ~~~~~~~~~^~~~~~~ libswscale/yuv2rgb.c:756:59: warning: passing argument 4 of 'fill_table' from incompatible pointer type [-Wincompatible-pointer-types] fill_table(c->table_bU, 2, cbu, y_table16 + yoffs + 2048); ~~~~~~~~~~~~~~~~~~^~~~~~ libswscale/yuv2rgb.c:598:89: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint16_t *' {aka 'short unsigned int *'} static void fill_table(uint8_t* table[256], const int elemsize, const int inc, uint8_t *y_table) ~~~~~~~~~^~~~~~~ libswscale/yuv2rgb.c:777:51: warning: passing argument 4 of 'fill_table' from incompatible pointer type [-Wincompatible-pointer-types] fill_table(c->table_rV, 2, crv, y_table16 + yoffs); ~~~~~~~~~~^~~~~~~ libswscale/yuv2rgb.c:598:89: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint16_t *' {aka 'short unsigned int *'} static void fill_table(uint8_t* table[256], const int elemsize, const int inc, uint8_t *y_table) ~~~~~~~~~^~~~~~~ libswscale/yuv2rgb.c:778:59: warning: passing argument 4 of 'fill_table' from incompatible pointer type [-Wincompatible-pointer-types] fill_table(c->table_gU, 2, cgu, y_table16 + yoffs + 1024); ~~~~~~~~~~~~~~~~~~^~~~~~ libswscale/yuv2rgb.c:598:89: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint16_t *' {aka 'short unsigned int *'} static void fill_table(uint8_t* table[256], const int elemsize, const int inc, uint8_t *y_table) ~~~~~~~~~^~~~~~~ libswscale/yuv2rgb.c:779:59: warning: passing argument 4 of 'fill_table' from incompatible pointer type [-Wincompatible-pointer-types] fill_table(c->table_bU, 2, cbu, y_table16 + yoffs + 2048); ~~~~~~~~~~~~~~~~~~^~~~~~ libswscale/yuv2rgb.c:598:89: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint16_t *' {aka 'short unsigned int *'} static void fill_table(uint8_t* table[256], const int elemsize, const int inc, uint8_t *y_table) ~~~~~~~~~^~~~~~~ libswscale/yuv2rgb.c:814:51: warning: passing argument 4 of 'fill_table' from incompatible pointer type [-Wincompatible-pointer-types] fill_table(c->table_rV, 4, crv, y_table32 + yoffs); ~~~~~~~~~~^~~~~~~ libswscale/yuv2rgb.c:598:89: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint32_t *' {aka 'unsigned int *'} static void fill_table(uint8_t* table[256], const int elemsize, const int inc, uint8_t *y_table) ~~~~~~~~~^~~~~~~ libswscale/yuv2rgb.c:815:59: warning: passing argument 4 of 'fill_table' from incompatible pointer type [-Wincompatible-pointer-types] fill_table(c->table_gU, 4, cgu, y_table32 + yoffs + 1024); ~~~~~~~~~~~~~~~~~~^~~~~~ libswscale/yuv2rgb.c:598:89: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint32_t *' {aka 'unsigned int *'} static void fill_table(uint8_t* table[256], const int elemsize, const int inc, uint8_t *y_table) ~~~~~~~~~^~~~~~~ libswscale/yuv2rgb.c:816:59: warning: passing argument 4 of 'fill_table' from incompatible pointer type [-Wincompatible-pointer-types] fill_table(c->table_bU, 4, cbu, y_table32 + yoffs + 2048); ~~~~~~~~~~~~~~~~~~^~~~~~ libswscale/yuv2rgb.c:598:89: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'uint32_t *' {aka 'unsigned int *'} static void fill_table(uint8_t* table[256], const int elemsize, const int inc, uint8_t *y_table) ~~~~~~~~~^~~~~~~ In file included from libswscale/swscale.c:1209: libswscale/swscale_template.c: In function 'yuv2yuv1_MMX': libswscale/swscale_template.c:954:33: warning: initialization of 'const uint8_t *' {aka 'const unsigned char *'} from incompatible pointer type 'const int16_t *' {aka 'const short int *'} [-Wincompatible-pointer-types] const uint8_t *src[4]= {alpSrc + dstW, lumSrc + dstW, chrSrc + chrDstW, chrSrc + VOFW + chrDstW}; ^~~~~~ libswscale/swscale_template.c:954:33: note: (near initialization for 'src[0]') libswscale/swscale_template.c:954:48: warning: initialization of 'const uint8_t *' {aka 'const unsigned char *'} from incompatible pointer type 'const int16_t *' {aka 'const short int *'} [-Wincompatible-pointer-types] const uint8_t *src[4]= {alpSrc + dstW, lumSrc + dstW, chrSrc + chrDstW, chrSrc + VOFW + chrDstW}; ^~~~~~ libswscale/swscale_template.c:954:48: note: (near initialization for 'src[1]') libswscale/swscale_template.c:954:63: warning: initialization of 'const uint8_t *' {aka 'const unsigned char *'} from incompatible pointer type 'const int16_t *' {aka 'const short int *'} [-Wincompatible-pointer-types] const uint8_t *src[4]= {alpSrc + dstW, lumSrc + dstW, chrSrc + chrDstW, chrSrc + VOFW + chrDstW}; ^~~~~~ libswscale/swscale_template.c:954:63: note: (near initialization for 'src[2]') libswscale/swscale_template.c:954:81: warning: initialization of 'const uint8_t *' {aka 'const unsigned char *'} from incompatible pointer type 'const int16_t *' {aka 'const short int *'} [-Wincompatible-pointer-types] const uint8_t *src[4]= {alpSrc + dstW, lumSrc + dstW, chrSrc + chrDstW, chrSrc + VOFW + chrDstW}; ^~~~~~ libswscale/swscale_template.c:954:81: note: (near initialization for 'src[3]') libswscale/swscale_template.c: In function 'yuv2packed2_MMX': libswscale/swscale_template.c:1235:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(const uint16_t **)(&c->u_temp)=abuf0; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libswscale/swscale_template.c:1236:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(const uint16_t **)(&c->v_temp)=abuf1; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libswscale/swscale_template.c: In function 'swScale_MMX': libswscale/swscale_template.c:2734:40: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **lumSrcPtr= (const int16_t **) lumPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize; ^ libswscale/swscale_template.c:2735:40: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **chrSrcPtr= (const int16_t **) chrPixBuf + chrBufIndex + firstChrSrcY - lastInChrBuf + vChrBufSize; ^ libswscale/swscale_template.c:2736:78: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **alpSrcPtr= (CONFIG_SWSCALE_ALPHA && alpPixBuf) ? (const int16_t **) alpPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize : NULL; ^ libswscale/swscale_template.c:2764:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lumMmxFilter[4*i+1]= (uint64_t)lumSrcPtr[i] >> 32; ^ libswscale/swscale_template.c:2770:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] alpMmxFilter[4*i+1]= (uint64_t)alpSrcPtr[i] >> 32; ^ libswscale/swscale_template.c:2777:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] chrMmxFilter[4*i+1]= (uint64_t)chrSrcPtr[i] >> 32; ^ libswscale/swscale_template.c:2858:40: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **lumSrcPtr= (const int16_t **)lumPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize; ^ libswscale/swscale_template.c:2859:40: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **chrSrcPtr= (const int16_t **)chrPixBuf + chrBufIndex + firstChrSrcY - lastInChrBuf + vChrBufSize; ^ libswscale/swscale_template.c:2860:78: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **alpSrcPtr= (CONFIG_SWSCALE_ALPHA && alpPixBuf) ? (const int16_t **)alpPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize : NULL; ^ libswscale/swscale_template.c: In function 'sws_init_swScale_MMX': libswscale/swscale_template.c:2965:44: warning: assignment to 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, long int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, long int, unsigned int *)'} from incompatible pointer type 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_RGB48LE: c->chrToYV12 = rgb48ToUV_half; break; ^ libswscale/swscale_template.c:2980:44: warning: assignment to 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, long int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, long int, unsigned int *)'} from incompatible pointer type 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_RGB48LE: c->chrToYV12 = rgb48ToUV; break; ^ libswscale/swscale_template.c:3025:40: warning: assignment to 'void (*)(uint8_t *, const uint8_t *, long int, uint32_t *)' {aka 'void (*)(unsigned char *, const unsigned char *, long int, unsigned int *)'} from incompatible pointer type 'void (*)(uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_RGB48LE: c->lumToYV12 = rgb48ToY; break; ^ CC libpostproc/postprocess.o In file included from libswscale/swscale.c:1222: libswscale/swscale_template.c: In function 'yuv2yuv1_MMX2': libswscale/swscale_template.c:954:33: warning: initialization of 'const uint8_t *' {aka 'const unsigned char *'} from incompatible pointer type 'const int16_t *' {aka 'const short int *'} [-Wincompatible-pointer-types] const uint8_t *src[4]= {alpSrc + dstW, lumSrc + dstW, chrSrc + chrDstW, chrSrc + VOFW + chrDstW}; ^~~~~~ libswscale/swscale_template.c:954:33: note: (near initialization for 'src[0]') libswscale/swscale_template.c:954:48: warning: initialization of 'const uint8_t *' {aka 'const unsigned char *'} from incompatible pointer type 'const int16_t *' {aka 'const short int *'} [-Wincompatible-pointer-types] const uint8_t *src[4]= {alpSrc + dstW, lumSrc + dstW, chrSrc + chrDstW, chrSrc + VOFW + chrDstW}; ^~~~~~ libswscale/swscale_template.c:954:48: note: (near initialization for 'src[1]') libswscale/swscale_template.c:954:63: warning: initialization of 'const uint8_t *' {aka 'const unsigned char *'} from incompatible pointer type 'const int16_t *' {aka 'const short int *'} [-Wincompatible-pointer-types] const uint8_t *src[4]= {alpSrc + dstW, lumSrc + dstW, chrSrc + chrDstW, chrSrc + VOFW + chrDstW}; ^~~~~~ libswscale/swscale_template.c:954:63: note: (near initialization for 'src[2]') libswscale/swscale_template.c:954:81: warning: initialization of 'const uint8_t *' {aka 'const unsigned char *'} from incompatible pointer type 'const int16_t *' {aka 'const short int *'} [-Wincompatible-pointer-types] const uint8_t *src[4]= {alpSrc + dstW, lumSrc + dstW, chrSrc + chrDstW, chrSrc + VOFW + chrDstW}; ^~~~~~ libswscale/swscale_template.c:954:81: note: (near initialization for 'src[3]') libswscale/swscale_template.c: In function 'yuv2packed2_MMX2': libswscale/swscale_template.c:1235:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(const uint16_t **)(&c->u_temp)=abuf0; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libswscale/swscale_template.c:1236:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(const uint16_t **)(&c->v_temp)=abuf1; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libswscale/swscale_template.c: In function 'hyscale_fast_MMX2': libswscale/swscale_template.c:2260:26: warning: initialization of 'int32_t *' {aka 'int *'} from incompatible pointer type 'int16_t *' {aka 'short int *'} [-Wincompatible-pointer-types] int32_t *filterPos = c->hLumFilterPos; ^ libswscale/swscale_template.c: In function 'hcscale_fast_MMX2': libswscale/swscale_template.c:2409:26: warning: initialization of 'int32_t *' {aka 'int *'} from incompatible pointer type 'int16_t *' {aka 'short int *'} [-Wincompatible-pointer-types] int32_t *filterPos = c->hChrFilterPos; ^ libswscale/swscale_template.c: In function 'swScale_MMX2': libswscale/swscale_template.c:2734:40: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **lumSrcPtr= (const int16_t **) lumPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize; ^ libswscale/swscale_template.c:2735:40: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **chrSrcPtr= (const int16_t **) chrPixBuf + chrBufIndex + firstChrSrcY - lastInChrBuf + vChrBufSize; ^ libswscale/swscale_template.c:2736:78: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **alpSrcPtr= (CONFIG_SWSCALE_ALPHA && alpPixBuf) ? (const int16_t **) alpPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize : NULL; ^ libswscale/swscale_template.c:2764:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lumMmxFilter[4*i+1]= (uint64_t)lumSrcPtr[i] >> 32; ^ libswscale/swscale_template.c:2770:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] alpMmxFilter[4*i+1]= (uint64_t)alpSrcPtr[i] >> 32; ^ libswscale/swscale_template.c:2777:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] chrMmxFilter[4*i+1]= (uint64_t)chrSrcPtr[i] >> 32; ^ libswscale/swscale_template.c:2858:40: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **lumSrcPtr= (const int16_t **)lumPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize; ^ libswscale/swscale_template.c:2859:40: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **chrSrcPtr= (const int16_t **)chrPixBuf + chrBufIndex + firstChrSrcY - lastInChrBuf + vChrBufSize; ^ libswscale/swscale_template.c:2860:78: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **alpSrcPtr= (CONFIG_SWSCALE_ALPHA && alpPixBuf) ? (const int16_t **)alpPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize : NULL; ^ libswscale/swscale_template.c: In function 'sws_init_swScale_MMX2': libswscale/swscale_template.c:2965:44: warning: assignment to 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, long int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, long int, unsigned int *)'} from incompatible pointer type 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_RGB48LE: c->chrToYV12 = rgb48ToUV_half; break; ^ libswscale/swscale_template.c:2980:44: warning: assignment to 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, long int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, long int, unsigned int *)'} from incompatible pointer type 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_RGB48LE: c->chrToYV12 = rgb48ToUV; break; ^ libswscale/swscale_template.c:3025:40: warning: assignment to 'void (*)(uint8_t *, const uint8_t *, long int, uint32_t *)' {aka 'void (*)(unsigned char *, const unsigned char *, long int, unsigned int *)'} from incompatible pointer type 'void (*)(uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_RGB48LE: c->lumToYV12 = rgb48ToY; break; ^ In file included from libswscale/swscale.c:1235: libswscale/swscale_template.c: In function 'yuv2yuv1_3DNow': libswscale/swscale_template.c:954:33: warning: initialization of 'const uint8_t *' {aka 'const unsigned char *'} from incompatible pointer type 'const int16_t *' {aka 'const short int *'} [-Wincompatible-pointer-types] const uint8_t *src[4]= {alpSrc + dstW, lumSrc + dstW, chrSrc + chrDstW, chrSrc + VOFW + chrDstW}; ^~~~~~ libswscale/swscale_template.c:954:33: note: (near initialization for 'src[0]') libswscale/swscale_template.c:954:48: warning: initialization of 'const uint8_t *' {aka 'const unsigned char *'} from incompatible pointer type 'const int16_t *' {aka 'const short int *'} [-Wincompatible-pointer-types] const uint8_t *src[4]= {alpSrc + dstW, lumSrc + dstW, chrSrc + chrDstW, chrSrc + VOFW + chrDstW}; ^~~~~~ libswscale/swscale_template.c:954:48: note: (near initialization for 'src[1]') libswscale/swscale_template.c:954:63: warning: initialization of 'const uint8_t *' {aka 'const unsigned char *'} from incompatible pointer type 'const int16_t *' {aka 'const short int *'} [-Wincompatible-pointer-types] const uint8_t *src[4]= {alpSrc + dstW, lumSrc + dstW, chrSrc + chrDstW, chrSrc + VOFW + chrDstW}; ^~~~~~ libswscale/swscale_template.c:954:63: note: (near initialization for 'src[2]') libswscale/swscale_template.c:954:81: warning: initialization of 'const uint8_t *' {aka 'const unsigned char *'} from incompatible pointer type 'const int16_t *' {aka 'const short int *'} [-Wincompatible-pointer-types] const uint8_t *src[4]= {alpSrc + dstW, lumSrc + dstW, chrSrc + chrDstW, chrSrc + VOFW + chrDstW}; ^~~~~~ libswscale/swscale_template.c:954:81: note: (near initialization for 'src[3]') libswscale/swscale_template.c: In function 'yuv2packed2_3DNow': libswscale/swscale_template.c:1235:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(const uint16_t **)(&c->u_temp)=abuf0; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libswscale/swscale_template.c:1236:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(const uint16_t **)(&c->v_temp)=abuf1; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AR libavutil/libavutil.a libswscale/swscale_template.c: In function 'swScale_3DNow': libswscale/swscale_template.c:2734:40: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **lumSrcPtr= (const int16_t **) lumPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize; ^ libswscale/swscale_template.c:2735:40: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **chrSrcPtr= (const int16_t **) chrPixBuf + chrBufIndex + firstChrSrcY - lastInChrBuf + vChrBufSize; ^ libswscale/swscale_template.c:2736:78: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **alpSrcPtr= (CONFIG_SWSCALE_ALPHA && alpPixBuf) ? (const int16_t **) alpPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize : NULL; ^ libswscale/swscale_template.c:2764:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lumMmxFilter[4*i+1]= (uint64_t)lumSrcPtr[i] >> 32; ^ libswscale/swscale_template.c:2770:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] alpMmxFilter[4*i+1]= (uint64_t)alpSrcPtr[i] >> 32; ^ libswscale/swscale_template.c:2777:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] chrMmxFilter[4*i+1]= (uint64_t)chrSrcPtr[i] >> 32; ^ libswscale/swscale_template.c:2858:40: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **lumSrcPtr= (const int16_t **)lumPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize; ^ libswscale/swscale_template.c:2859:40: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **chrSrcPtr= (const int16_t **)chrPixBuf + chrBufIndex + firstChrSrcY - lastInChrBuf + vChrBufSize; ^ libswscale/swscale_template.c:2860:78: warning: to be safe all intermediate pointers in cast from 'int16_t **' {aka 'short int **'} to 'const int16_t **' {aka 'const short int **'} must be 'const' qualified [-Wcast-qual] const int16_t **alpSrcPtr= (CONFIG_SWSCALE_ALPHA && alpPixBuf) ? (const int16_t **)alpPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize : NULL; ^ libswscale/swscale_template.c: In function 'sws_init_swScale_3DNow': libswscale/swscale_template.c:2965:44: warning: assignment to 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, long int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, long int, unsigned int *)'} from incompatible pointer type 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_RGB48LE: c->chrToYV12 = rgb48ToUV_half; break; ^ libswscale/swscale_template.c:2980:44: warning: assignment to 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, long int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, long int, unsigned int *)'} from incompatible pointer type 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_RGB48LE: c->chrToYV12 = rgb48ToUV; break; ^ libswscale/swscale_template.c:3025:40: warning: assignment to 'void (*)(uint8_t *, const uint8_t *, long int, uint32_t *)' {aka 'void (*)(unsigned char *, const unsigned char *, long int, unsigned int *)'} from incompatible pointer type 'void (*)(uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_RGB48LE: c->lumToYV12 = rgb48ToY; break; ^ libswscale/swscale.c: In function 'sws_scale': libswscale/swscale.c:1925:19: warning: to be safe all intermediate pointers in cast from 'uint8_t **' {aka 'unsigned char **'} to 'const uint8_t **' {aka 'const unsigned char **'} must be 'const' qualified [-Wcast-qual] reset_ptr((const uint8_t**)dst2, c->dstFormat); ^ libswscale/swscale.c:1948:19: warning: to be safe all intermediate pointers in cast from 'uint8_t **' {aka 'unsigned char **'} to 'const uint8_t **' {aka 'const unsigned char **'} must be 'const' qualified [-Wcast-qual] reset_ptr((const uint8_t**)dst2, c->dstFormat); ^ At top level: libswscale/swscale.c:104:21: warning: 'rgb2yuv_table' defined but not used [-Wunused-const-variable=] static const double rgb2yuv_table[8][9]={ ^~~~~~~~~~~~~ CC ffmpeg.o ffmpeg.c: In function 'do_video_out': ffmpeg.c:1084:59: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] sws_scale(ost->img_resample_ctx, formatted_picture->data, formatted_picture->linesize, ~~~~~~~~~~~~~~~~~^~~~~~ In file included from ffmpeg.c:36: libswscale/swscale.h:195:64: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} int sws_scale(struct SwsContext *context, const uint8_t* const srcSlice[], const int srcStride[], ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ffmpeg.c: In function 'av_transcode': ffmpeg.c:2309:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ist->is_past_recording_time || no_packet[ist->file_index]) ^~ ffmpeg.c:2311:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' opts = ost->st->pts.val * av_q2d(ost->st->time_base); ^~~~ libswscale/yuv2rgb.c:809:66: warning: 'abase' may be used uninitialized in this function [-Wmaybe-uninitialized] y_table32[i ] = (yval << rbase) + (needAlpha ? 0 : (255 << abase)); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ffmpeg.c: In function 'new_audio_stream': ffmpeg.c:502:13: warning: 'best' may be used uninitialized in this function [-Wmaybe-uninitialized] av_log(st->codec, AV_LOG_WARNING, "Requested sampling rate unsupported using closest supported (%d)\n", best); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ffmpeg.c:492:13: note: 'best' was declared here int best; ^~~~ CC cmdutils.o cmdutils.c: In function 'read_file': cmdutils.c:659:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(*bufptr, 1, *size, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ CC ffplay.o CC ffprobe.o ffplay.c: In function 'queue_picture': ffplay.c:1341:9: warning: variable 'dst_pix_fmt' set but not used [-Wunused-but-set-variable] int dst_pix_fmt; ^~~~~~~~~~~ ffplay.c: In function 'get_video_frame': ffplay.c:1488:9: warning: variable 'len1' set but not used [-Wunused-but-set-variable] int len1, got_picture, i; ^~~~ ffplay.c: In function 'subtitle_thread': ffplay.c:1858:9: warning: variable 'len1' set but not used [-Wunused-but-set-variable] int len1, got_subtitle; ^~~~ ffplay.c: In function 'update_sample_display': ffplay.c:1931:20: warning: variable 'channels' set but not used [-Wunused-but-set-variable] int size, len, channels; ^~~~~~~~ ffplay.c: In function 'main': ffplay.c:3157:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] flush_pkt.data= "FLUSH"; ^ CC ffserver.o ffserver.c: In function 'http_parse_request': ffserver.c:1470:32: warning: to be safe all intermediate pointers in cast from 'char **' to 'const char **' must be 'const' qualified [-Wcast-qual] get_word(cmd, sizeof(cmd), (const char **)&p); ^ ffserver.c:1480:32: warning: to be safe all intermediate pointers in cast from 'char **' to 'const char **' must be 'const' qualified [-Wcast-qual] get_word(url, sizeof(url), (const char **)&p); ^ ffserver.c:1483:42: warning: to be safe all intermediate pointers in cast from 'char **' to 'const char **' must be 'const' qualified [-Wcast-qual] get_word(protocol, sizeof(protocol), (const char **)&p); ^ ffserver.c: In function 'main': ffserver.c:4680:17: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(0); ^~~~~~ ffserver.c:4683:13: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(0); ^~~~~~ ffserver.c:4691:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ ffserver.c: In function 'start_children': ffserver.c:487:17: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(my_program_dir); ^~~~~~~~~~~~~~~~~~~~~ ffserver.c: In function 'http_start_receive_data': ffserver.c:2601:9: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(c->feed_fd, FFM_PACKET_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AR libavdevice/libavdevice.a ffserver.c: In function 'find_rtp_session_with_url': ffserver.c:3215:37: warning: '/streamid=' directive output may be truncated writing 10 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%s/streamid=%d", ^~~~~~~~~~ ffserver.c:3215:34: note: directive argument in the range [0, 2147483647] snprintf(buf, sizeof(buf), "%s/streamid=%d", ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from libavformat/avformat.h:55, from libavformat/internal.h:25, from ffserver.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 12 and 1044 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD libavutil/libavutil.so.50 AR libavfilter/libavfilter.a LD libavcodec/libavcodec.so.52 ffserver.c: In function 'parse_ffconfig': ffserver.c:4104:32: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1019 [-Wformat-truncation=] "/tmp/%s.ffm", feed->filename); ^~ In file included from /usr/include/stdio.h:873, from libavformat/avformat.h:55, from libavformat/internal.h:25, from ffserver.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 1033 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD libavformat/libavformat.so.52 LD libavdevice/libavdevice.so.52 ffserver.c: In function 'http_parse_request': ffserver.c:1811:68: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 993 [-Wformat-truncation=] snprintf(msg, sizeof(msg), "Input stream corresponding to '%s' not found", url); ^~ ~~~ In file included from /usr/include/stdio.h:873, from libavformat/avformat.h:55, from libavformat/internal.h:25, from ffserver.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 43 and 1066 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ffserver.c:1546:43: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=] snprintf(msg, sizeof(msg), "File '%s' not found", url); ^~ ~~~ In file included from /usr/include/stdio.h:873, from libavformat/avformat.h:55, from libavformat/internal.h:25, from ffserver.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 18 and 1041 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ffserver.c: In function 'rtsp_parse_request': ffserver.c:3087:47: warning: '/streamid=' directive output may be truncated writing 10 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%s/streamid=%d", ^~~~~~~~~~ ffserver.c:3087:44: note: directive argument in the range [0, 2147483647] snprintf(buf, sizeof(buf), "%s/streamid=%d", ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from libavformat/avformat.h:55, from libavformat/internal.h:25, from ffserver.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 12 and 1044 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD libpostproc/libpostproc.so.51 AR libpostproc/libpostproc.a LD libswscale/libswscale.so.0 AR libswscale/libswscale.a LD libavfilter/libavfilter.so.1 LD ffmpeg_g LD ffplay_g LD ffserver_g LD ffprobe_g CP ffprobe CP ffmpeg STRIP ffprobe STRIP ffmpeg CP ffserver STRIP ffserver CP ffplay STRIP ffplay INSTALL libavdevice/libavdevice.a INSTALL libavdevice/libavdevice.so STRIP install-libavdevice-shared INSTALL libavfilter/libavfilter.a INSTALL libavfilter/libavfilter.so INSTALL libavformat/libavformat.a INSTALL libavformat/libavformat.so INSTALL libavcodec/libavcodec.a STRIP install-libavfilter-shared INSTALL libavcodec/libavcodec.so STRIP install-libavformat-shared INSTALL libpostproc/libpostproc.a STRIP install-libavcodec-shared INSTALL libpostproc/libpostproc.so STRIP install-libpostproc-shared INSTALL libswscale/libswscale.a INSTALL libswscale/libswscale.so STRIP install-libswscale-shared INSTALL libavutil/libavutil.a INSTALL libavutil/libavutil.so INSTALL libavdevice/avdevice.h INSTALL libavdevice/libavdevice.pc STRIP install-libavutil-shared INSTALL libavfilter/avfilter.h INSTALL libavfilter/libavfilter.pc INSTALL libavformat/avformat.h INSTALL libavformat/avio.h INSTALL libavformat/libavformat.pc INSTALL libavcodec/avcodec.h INSTALL libavcodec/avfft.h INSTALL libavcodec/dxva2.h INSTALL libavcodec/opt.h INSTALL libavcodec/vaapi.h INSTALL libavcodec/vdpau.h INSTALL libavcodec/xvmc.h INSTALL libavcodec/libavcodec.pc INSTALL libpostproc/postprocess.h INSTALL libpostproc/libpostproc.pc INSTALL libswscale/swscale.h INSTALL libswscale/libswscale.pc INSTALL libavutil/adler32.h INSTALL libavutil/attributes.h INSTALL libavutil/avstring.h INSTALL libavutil/avutil.h INSTALL libavutil/base64.h INSTALL libavutil/common.h INSTALL libavutil/crc.h INSTALL libavutil/error.h INSTALL libavutil/fifo.h INSTALL libavutil/intfloat_readwrite.h INSTALL libavutil/log.h INSTALL libavutil/lzo.h INSTALL libavutil/mathematics.h INSTALL libavutil/md5.h INSTALL libavutil/mem.h INSTALL libavutil/pixdesc.h INSTALL libavutil/pixfmt.h INSTALL libavutil/rational.h INSTALL libavutil/sha1.h INSTALL libavutil/avconfig.h INSTALL libavutil/libavutil.pc INSTALL ffpresets/libx264-superfast_firstpass.ffpreset INSTALL ffpresets/libx264-veryfast_firstpass.ffpreset INSTALL ffpresets/libx264-lossless_ultrafast.ffpreset INSTALL ffpresets/libx264-veryslow_firstpass.ffpreset INSTALL ffpresets/libx264-slower_firstpass.ffpreset INSTALL ffpresets/libx264-ipod320.ffpreset INSTALL ffpresets/libx264-slowfirstpass.ffpreset INSTALL ffpresets/libx264-placebo.ffpreset INSTALL ffpresets/libx264-ipod640.ffpreset INSTALL ffpresets/libx264-max.ffpreset INSTALL ffpresets/libx264-ultrafast_firstpass.ffpreset INSTALL ffpresets/libx264-placebo_firstpass.ffpreset INSTALL ffpresets/libx264-medium.ffpreset INSTALL ffpresets/libx264-lossless_fast.ffpreset INSTALL ffpresets/libx264-fast_firstpass.ffpreset INSTALL ffpresets/libx264-normal.ffpreset INSTALL ffpresets/libx264-default.ffpreset INSTALL ffpresets/libx264-slow_firstpass.ffpreset INSTALL ffpresets/libx264-fastfirstpass.ffpreset INSTALL ffpresets/libx264-baseline.ffpreset INSTALL ffpresets/libx264-medium_firstpass.ffpreset INSTALL ffpresets/libx264-lossless_max.ffpreset INSTALL ffpresets/libx264-slower.ffpreset INSTALL ffpresets/libx264-lossless_slower.ffpreset INSTALL ffpresets/libx264-faster_firstpass.ffpreset INSTALL ffpresets/libx264-fast.ffpreset INSTALL ffpresets/libx264-lossless_slow.ffpreset INSTALL ffpresets/libx264-hq.ffpreset INSTALL ffpresets/libx264-ultrafast.ffpreset INSTALL ffpresets/libx264-superfast.ffpreset INSTALL ffpresets/libx264-faster.ffpreset INSTALL ffpresets/libx264-main.ffpreset INSTALL ffpresets/libx264-veryslow.ffpreset INSTALL ffpresets/libx264-lossless_medium.ffpreset INSTALL ffpresets/libx264-veryfast.ffpreset INSTALL ffpresets/libx264-slow.ffpreset INSTALL ffmpeg INSTALL ffplay INSTALL ffprobe INSTALL ffserver INSTALL install-libs ================================================================================ Executing strip on all files... Done Time: 10.85s. Size: 14487632 B -> 14472292 B. Save: 15 KB. ================================================================================ Build dependencies to remove: 74 Removing: coreutils-file-format dbus eudev faac faac-dev faad2 faad2-dev git lame lame-dev libcurl libdb libgcrypt libgdbm libgpg-error libidn2 libjpeg-turbo liblcms2 libogg libogg-dev libpcre2-8 libpng libtheora libtheora-dev libtheora-enc libtiff libunistring libusb libusb-compat libvorbis libvorbis-dev libvpx libvpx-dev libx11 libx11-dev libxau libxau-dev libxcb libxcb-dev libxdmcp libxdmcp-dev libxml2 neon netatalk netatalk-dev nut opencore-amr opencore-amr-dev openjpeg openjpeg-dev openjpeg-tools orc orc-dev perl perl-core schroedinger schroedinger-dev sdl sdl-dev speex speex-bin speex-dev speexdsp tslib tslib-dev util-linux-blkid util-linux-mount util-linux-smartcols util-linux-uuid x264 xorgproto xvidcore xvidcore-dev zlib-dev Pack: libav 0.6.1 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done Removing old package "libav-0.6.1-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "libav-0.6.1-i486.tazpkg" created Pack: libav-dev 0.6.1 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "libav-dev-0.6.1-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/libav-0.6.1... Done Checking site script in source/libav-0.6.1... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: libav 0.6.1 ================================================================================ Src file : libav-0.6.1.tar.bz2 Src size : 53.2M Source dir : 100.8M Produced : 14.4M Cook time : 177s ~ 02m 57s Cook date : 2020-09-12 16:31 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 6.7M : 2.3M : 54 : libav-0.6.1-i486.tazpkg 2 : 7.8M : 2.4M : 54 : libav-dev-0.6.1-i486.tazpkg ================================================================================