Cook: ffmpeg-compat 0.10.12 ================================================================================ QA: checking package receipt... Checking build dependencies... 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): zlib-dev-1.2.11-any Installing (pkg/local): bzip2-dev-1.0.8-i486 Installing (pkg/local): coreutils-file-format-8.32-i486 Installing (pkg/local): coreutils-file-special-8.32-i486 Installing (pkg/local): yasm-1.3.0-i486 Extracting source archive "ffmpeg-0.10.12.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 . C compiler gcc 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 AVX enabled no CMOV enabled no CMOV is fast no EBX available yes EBP available yes debug symbols no strip symbols yes optimize for size yes optimizations yes static no shared yes postprocessing support yes new filter support yes network support yes threading support pthreads safe bitstream reader yes SDL support yes Sun medialib support no libdxva2 enabled no libva enabled no libvdpau enabled no AVISynth enabled no frei0r enabled no gnutls enabled no libaacplus enabled no libass enabled no libcdio support no libcelt enabled no libdc1394 support no libdirac enabled no libfaac enabled no libgsm enabled no libmodplug enabled no libmp3lame enabled no libnut enabled no libopencore-amrnb support no libopencore-amrwb support no libopencv support no libopenjpeg enabled no libpulse enabled no librtmp enabled no libschroedinger enabled no libspeex enabled no libstagefright-h264 enabled no libtheora enabled no libutvideo enabled no libv4l2 enabled no libvo-aacenc support no libvo-amrwbenc support no libvorbis enabled no libvpx enabled no libx264 enabled no libxavs enabled no libxvid enabled no openal enabled no openssl enabled no zlib enabled yes bzlib enabled yes Enabled decoders: aac cscd mdec aac_latm cyuv mimic aasc dca mjpeg ac3 dfa mjpegb adpcm_4xm dirac mlp adpcm_adx dnxhd mmvideo adpcm_ct dpx motionpixels adpcm_ea dsicinaudio mp1 adpcm_ea_maxis_xa dsicinvideo mp1float adpcm_ea_r1 dvbsub mp2 adpcm_ea_r2 dvdsub mp2float adpcm_ea_r3 dvvideo mp3 adpcm_ea_xas dxa mp3adu adpcm_g722 dxtory mp3adufloat adpcm_g726 eac3 mp3float adpcm_ima_amv eacmv mp3on4 adpcm_ima_apc eamad mp3on4float adpcm_ima_dk3 eatgq mpc7 adpcm_ima_dk4 eatgv mpc8 adpcm_ima_ea_eacs eatqi mpeg1video adpcm_ima_ea_sead eightbps mpeg2video adpcm_ima_iss eightsvx_exp mpeg4 adpcm_ima_qt eightsvx_fib mpegvideo adpcm_ima_smjpeg escape124 msmpeg4v1 adpcm_ima_wav escape130 msmpeg4v2 adpcm_ima_ws ffv1 msmpeg4v3 adpcm_ms ffvhuff msrle adpcm_sbpro_2 ffwavesynth msvideo1 adpcm_sbpro_3 flac mszh adpcm_sbpro_4 flashsv mxpeg adpcm_swf flashsv2 nellymoser adpcm_thp flic nuv adpcm_xa flv pam adpcm_yamaha fourxm pbm alac fraps pcm_alaw als frwu pcm_bluray amrnb g723_1 pcm_dvd amrwb g729 pcm_f32be amv gif pcm_f32le anm gsm pcm_f64be ansi gsm_ms pcm_f64le ape h261 pcm_lxf ass h263 pcm_mulaw asv1 h263i pcm_s16be asv2 h264 pcm_s16le atrac1 huffyuv pcm_s16le_planar atrac3 idcin pcm_s24be aura idf pcm_s24daud aura2 iff_byterun1 pcm_s24le avrp iff_ilbm pcm_s32be avs imc pcm_s32le bethsoftvid indeo2 pcm_s8 bfi indeo3 pcm_s8_planar bink indeo4 pcm_u16be binkaudio_dct indeo5 pcm_u16le binkaudio_rdft interplay_dpcm pcm_u24be bintext interplay_video pcm_u24le bmp jpeg2000 pcm_u32be bmv_audio jpegls pcm_u32le bmv_video jv pcm_u8 c93 kgv1 pcm_zork cavs kmvc pcx cdgraphics lagarith pgm cinepak loco pgmyuv cljr mace3 pgssub cook mace6 pictor png sp5x vorbis ppm srt vp3 prores sunrast vp5 prores_lgpl svq1 vp6 ptx svq3 vp6a qcelp targa vp6f qdm2 theora vp8 qdraw thp vqa qpeg tiertexseqvideo wavpack qtrle tiff wmalossless r10k tmv wmapro r210 truehd wmav1 ra_144 truemotion1 wmav2 ra_288 truemotion2 wmavoice rawvideo truespeech wmv1 rl2 tscc wmv2 roq tta wmv3 roq_dpcm twinvq wmv3image rpza txd wnv1 rv10 ulti ws_snd1 rv20 utvideo xan_dpcm rv30 v210 xan_wc3 rv40 v210x xan_wc4 s302m v308 xbin sgi v410 xl shorten vb xsub sipr vble xwd smackaud vc1 y41p smacker vc1image yop smc vcr1 yuv4 snow vmdaudio zlib sol_dpcm vmdvideo zmbv sonic vmnc Enabled encoders: a64multi gif pcx a64multi5 h261 pgm aac huffyuv pgmyuv ac3 jpeg2000 png ac3_fixed jpegls ppm adpcm_adx ljpeg prores adpcm_g722 mjpeg qtrle adpcm_g726 mp2 r10k adpcm_ima_qt mpeg1video r210 adpcm_ima_wav msvideo1 ra_144 adpcm_ms nellymoser rawvideo adpcm_swf pam roq adpcm_yamaha pbm roq_dpcm alac pcm_alaw sgi amv pcm_f32be snow ass pcm_f32le sonic asv1 pcm_f64be sonic_ls asv2 pcm_f64le srt avrp pcm_mulaw svq1 bmp pcm_s16be targa cljr pcm_s16le tiff dca pcm_s24be v210 dnxhd pcm_s24daud v308 dpx pcm_s24le v410 dvbsub pcm_s32be vorbis dvdsub pcm_s32le wmav1 dvvideo pcm_s8 wmav2 eac3 pcm_u16be xsub ffv1 pcm_u16le xwd ffvhuff pcm_u24be y41p flac pcm_u24le yuv4 flashsv pcm_u32be zlib flashsv2 pcm_u32le zmbv g723_1 pcm_u8 Enabled hwaccels: Enabled parsers: aac dvdsub mpegaudio aac_latm flac mpegvideo ac3 gsm pnm adx h261 rv30 cavsvideo h263 rv40 dca h264 vc1 dirac mjpeg vp3 dnxhd mlp vp8 dvbsub mpeg4video Enabled demuxers: aac iff pcm_u24le ac3 image2 pcm_u32be act image2pipe pcm_u32le adf ingenient pcm_u8 adx ipmovie pmp aea iss pva aiff iv8 qcp amr ivf r3d anm jv rawvideo apc latm rl2 ape lmlm4 rm applehttp loas roq asf lxf rpl ass m4v rso au matroska rtp avi microdvd rtsp avs mjpeg sap bethsoftvid mlp sbg bfi mm sdp bink mmf segafilm bintext mov shorten bit mp3 siff bmv mpc smacker c93 mpc8 smjpeg caf mpegps sol cavsvideo mpegts sox cdg mpegtsraw spdif daud mpegvideo srt dfa msnwc_tcp str dirac mtv swf dnxhd mvi thp dsicin mxf tiertexseq dts mxg tmv dv nc truehd dxa nsv tta ea nut tty ea_cdata nuv txd eac3 ogg vc1 ffm oma vc1t ffmetadata pcm_alaw vmd filmstrip pcm_f32be voc flac pcm_f32le vqf flic pcm_f64be w64 flv pcm_f64le wav fourxm pcm_mulaw wc3 g722 pcm_s16be wsaud g723_1 pcm_s16le wsvqa g729 pcm_s24be wtv gsm pcm_s24le wv gxf pcm_s32be xa h261 pcm_s32le xbin h263 pcm_s8 xmv h264 pcm_u16be xwma ico pcm_u16le yop idcin pcm_u24be yuv4mpegpipe idf Enabled muxers: a64 ipod pcm_s16be ac3 ismv pcm_s16le adts ivf pcm_s24be adx latm pcm_s24le aiff m4v pcm_s32be amr matroska pcm_s32le asf matroska_audio pcm_s8 asf_stream md5 pcm_u16be ass microdvd pcm_u16le au mjpeg pcm_u24be avi mkvtimestamp_v2 pcm_u24le avm2 mlp pcm_u32be bit mmf pcm_u32le caf mov pcm_u8 cavsvideo mp2 psp crc mp3 rawvideo daud mp4 rm dirac mpeg1system roq dnxhd mpeg1vcd rso dts mpeg1video rtp dv mpeg2dvd rtsp eac3 mpeg2svcd sap ffm mpeg2video segment ffmetadata mpeg2vob smjpeg filmstrip mpegts sox flac mpjpeg spdif flv mxf srt framecrc mxf_d10 swf framemd5 null tg2 g722 nut tgp g723_1 ogg truehd gif oma vc1t gxf pcm_alaw voc h261 pcm_f32be wav h263 pcm_f32le webm h264 pcm_f64be wtv image2 pcm_f64le yuv4mpegpipe image2pipe pcm_mulaw Enabled protocols: applehttp httpproxy rtmps cache md5 rtmpt concat mmsh rtmpte crypto mmst rtp file pipe tcp gopher rtmp udp http rtmpe Enabled filters: abuffer drawbox pad abuffersink earwax pan aconvert fade pixdesctest aevalsrc fieldorder rgbtestsrc aformat fifo scale amerge format select amovie gradfun setdar anull hflip setpts anullsink hqdn3d setsar anullsrc life settb aresample lut showinfo ashowinfo lutrgb silencedetect asplit lutyuv slicify astreamsync mandelbrot split blackframe movie swapuv boxblur mp testsrc buffersink mptestsrc thumbnail cellauto negate tinterlace color noformat transpose copy null unsharp crop nullsink vflip cropdetect nullsrc volume delogo overlay yadif deshake Enabled bsfs: aac_adtstoasc mjpeg2jpeg mp3_header_decompress chomp mjpega_dump_header noise dump_extradata mov2textsub remove_extradata h264_mp4toannexb mp3_header_compress text2movsub imx_dump_header Enabled indevs: dv1394 lavfi v4l2 fbdev oss Enabled outdevs: oss sdl License: GPL version 2 or later Creating config.mak and config.h... CC libavdevice/alldevices.o CC libavdevice/avdevice.o CC libavdevice/dv1394.o CC libavdevice/fbdev.o CC libavdevice/lavfi.o CC libavdevice/oss_audio.o CC libavdevice/sdl.o CC libavdevice/v4l2.o CC libavfilter/af_aconvert.o CC libavfilter/af_aformat.o CC libavfilter/af_amerge.o CC libavfilter/af_anull.o libavfilter/af_aconvert.c:53:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] void (*convert_chlayout)(); ///< function to do the requested rematrixing ^~~~ libavfilter/af_aconvert.c:105:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] void (*func)(); ^~~~ CC libavfilter/af_aresample.o CC libavfilter/af_ashowinfo.o CC libavfilter/af_asplit.o CC libavfilter/af_astreamsync.o CC libavfilter/af_earwax.o CC libavfilter/af_pan.o CC libavfilter/af_silencedetect.o CC libavfilter/af_volume.o CC libavfilter/allfilters.o CC libavfilter/asink_anullsink.o CC libavfilter/asrc_abuffer.o CC libavfilter/asrc_aevalsrc.o CC libavfilter/asrc_anullsrc.o CC libavfilter/avcodec.o CC libavfilter/avfilter.o CC libavfilter/avfiltergraph.o CC libavfilter/defaults.o CC libavfilter/drawutils.o CC libavfilter/formats.o CC libavfilter/graphdump.o CC libavfilter/graphparser.o CC libavfilter/libmpcodecs/img_format.o CC libavfilter/libmpcodecs/mp_image.o CC libavfilter/libmpcodecs/pullup.o CC libavfilter/libmpcodecs/vf_2xsai.o CC libavfilter/libmpcodecs/vf_decimate.o CC libavfilter/libmpcodecs/vf_denoise3d.o CC libavfilter/libmpcodecs/vf_detc.o CC libavfilter/libmpcodecs/vf_dint.o CC libavfilter/libmpcodecs/vf_divtc.o CC libavfilter/libmpcodecs/vf_down3dright.o CC libavfilter/libmpcodecs/vf_dsize.o CC libavfilter/libmpcodecs/vf_eq.o CC libavfilter/libmpcodecs/vf_eq2.o CC libavfilter/libmpcodecs/vf_field.o libavfilter/libmpcodecs/vf_eq.c:38:1: warning: useless storage class specifier in empty declaration }; ^ CC libavfilter/libmpcodecs/vf_fil.o CC libavfilter/libmpcodecs/vf_fixpts.o CC libavfilter/libmpcodecs/vf_framestep.o CC libavfilter/libmpcodecs/vf_fspp.o CC libavfilter/libmpcodecs/vf_geq.o CC libavfilter/libmpcodecs/vf_harddup.o CC libavfilter/libmpcodecs/vf_hqdn3d.o CC libavfilter/libmpcodecs/vf_hue.o CC libavfilter/libmpcodecs/vf_il.o CC libavfilter/libmpcodecs/vf_ilpack.o CC libavfilter/libmpcodecs/vf_ivtc.o CC libavfilter/libmpcodecs/vf_kerndeint.o CC libavfilter/libmpcodecs/vf_mcdeint.o CC libavfilter/libmpcodecs/vf_mirror.o CC libavfilter/libmpcodecs/vf_noise.o libavfilter/libmpcodecs/vf_mcdeint.c: In function 'config': libavfilter/libmpcodecs/vf_mcdeint.c:199:13: warning: 'avcodec_alloc_context' is deprecated [-Wdeprecated-declarations] vf->priv->avctx_enc= avcodec_alloc_context(); ^~ In file included from libavfilter/libmpcodecs/vf_mcdeint.c:59: ./libavcodec/avcodec.h:4025:17: note: declared here AVCodecContext *avcodec_alloc_context(void); ^~~~~~~~~~~~~~~~~~~~~ libavfilter/libmpcodecs/vf_mcdeint.c:227:13: warning: 'avcodec_open' is deprecated [-Wdeprecated-declarations] avcodec_open(avctx_enc, enc); ^~~~~~~~~~~~ In file included from libavfilter/libmpcodecs/vf_mcdeint.c:59: ./libavcodec/avcodec.h:4155:5: note: declared here int avcodec_open(AVCodecContext *avctx, AVCodec *codec); ^~~~~~~~~~~~ CC libavfilter/libmpcodecs/vf_ow.o CC libavfilter/libmpcodecs/vf_palette.o CC libavfilter/libmpcodecs/vf_perspective.o CC libavfilter/libmpcodecs/vf_phase.o CC libavfilter/libmpcodecs/vf_pp7.o CC libavfilter/libmpcodecs/vf_pullup.o CC libavfilter/libmpcodecs/vf_qp.o libavfilter/libmpcodecs/vf_pp7.c:211:18: warning: 'thres' defined but not used [-Wunused-const-variable=] static const int thres[16]={ ^~~~~ CC libavfilter/libmpcodecs/vf_rectangle.o CC libavfilter/libmpcodecs/vf_remove_logo.o CC libavfilter/libmpcodecs/vf_rotate.o CC libavfilter/libmpcodecs/vf_sab.o CC libavfilter/libmpcodecs/vf_screenshot.o CC libavfilter/libmpcodecs/vf_smartblur.o CC libavfilter/libmpcodecs/vf_softpulldown.o libavfilter/libmpcodecs/vf_screenshot.c: In function 'scale_image': libavfilter/libmpcodecs/vf_screenshot.c:137:29: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] sws_scale(priv->ctx, mpi->planes, mpi->stride, 0, priv->dh, dst, dst_stride); ~~~^~~~~~~~ In file included from libavfilter/libmpcodecs/vf_screenshot.c:40: ./libswscale/swscale.h:237:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'unsigned char **' int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ libavfilter/libmpcodecs/vf_screenshot.c: In function 'draw_slice': libavfilter/libmpcodecs/vf_screenshot.c:160:34: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] sws_scale(vf->priv->ctx, src, stride, y, h, dst, dst_stride); ^~~ In file included from libavfilter/libmpcodecs/vf_screenshot.c:40: ./libswscale/swscale.h:237:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'unsigned char **' int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ libavfilter/libmpcodecs/vf_screenshot.c: In function 'vf_open': libavfilter/libmpcodecs/vf_screenshot.c:303:5: warning: 'avcodec_alloc_context' is deprecated [-Wdeprecated-declarations] vf->priv->avctx = avcodec_alloc_context(); ^~ In file included from libavfilter/libmpcodecs/vf_screenshot.c:41: ./libavcodec/avcodec.h:4025:17: note: declared here AVCodecContext *avcodec_alloc_context(void); ^~~~~~~~~~~~~~~~~~~~~ libavfilter/libmpcodecs/vf_screenshot.c:305:5: warning: 'avcodec_open' is deprecated [-Wdeprecated-declarations] if (avcodec_open(vf->priv->avctx, avcodec_find_encoder(CODEC_ID_PNG))) { ^~ In file included from libavfilter/libmpcodecs/vf_screenshot.c:41: ./libavcodec/avcodec.h:4155:5: note: declared here int avcodec_open(AVCodecContext *avctx, AVCodec *codec); ^~~~~~~~~~~~ CC libavfilter/libmpcodecs/vf_softskip.o CC libavfilter/libmpcodecs/vf_spp.o CC libavfilter/libmpcodecs/vf_stereo3d.o CC libavfilter/libmpcodecs/vf_swapuv.o CC libavfilter/libmpcodecs/vf_telecine.o CC libavfilter/libmpcodecs/vf_tile.o CC libavfilter/libmpcodecs/vf_tinterlace.o libavfilter/libmpcodecs/vf_stereo3d.c: In function 'vf_open': libavfilter/libmpcodecs/vf_stereo3d.c:389:30: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'stereo_code *' {aka 'enum stereo_code *'} [-Wformat=] if (args) sscanf(args, "%d:%d", &vf->priv->in.fmt, &vf->priv->out.fmt); ~^ ~~~~~~~~~~~~~~~~~ libavfilter/libmpcodecs/vf_stereo3d.c:389:33: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'stereo_code *' {aka 'enum stereo_code *'} [-Wformat=] if (args) sscanf(args, "%d:%d", &vf->priv->in.fmt, &vf->priv->out.fmt); ~^ ~~~~~~~~~~~~~~~~~~ libavfilter/libmpcodecs/vf_spp.c: In function 'vf_open': libavfilter/libmpcodecs/vf_spp.c:581:5: warning: 'avcodec_alloc_context' is deprecated [-Wdeprecated-declarations] vf->priv->avctx= avcodec_alloc_context(); ^~ In file included from libavfilter/libmpcodecs/vf_spp.c:42: ./libavcodec/avcodec.h:4025:17: note: declared here AVCodecContext *avcodec_alloc_context(void); ^~~~~~~~~~~~~~~~~~~~~ CC libavfilter/libmpcodecs/vf_unsharp.o CC libavfilter/libmpcodecs/vf_uspp.o libavfilter/libmpcodecs/vf_tile.c: In function 'vf_open': libavfilter/libmpcodecs/vf_tile.c:289:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] args = ""; ^ CC libavfilter/libmpcodecs/vf_yuvcsp.o CC libavfilter/libmpcodecs/vf_yvu9.o CC libavfilter/sink_buffer.o CC libavfilter/src_movie.o libavfilter/libmpcodecs/vf_uspp.c: In function 'config': libavfilter/libmpcodecs/vf_uspp.c:227:13: warning: 'avcodec_alloc_context' is deprecated [-Wdeprecated-declarations] vf->priv->avctx_enc[i]= avcodec_alloc_context(); ^~ In file included from libavfilter/libmpcodecs/vf_uspp.c:33: ./libavcodec/avcodec.h:4025:17: note: declared here AVCodecContext *avcodec_alloc_context(void); ^~~~~~~~~~~~~~~~~~~~~ libavfilter/libmpcodecs/vf_uspp.c:237:13: warning: 'avcodec_open' is deprecated [-Wdeprecated-declarations] avcodec_open(avctx_enc, enc); ^~~~~~~~~~~~ In file included from libavfilter/libmpcodecs/vf_uspp.c:33: ./libavcodec/avcodec.h:4155:5: note: declared here int avcodec_open(AVCodecContext *avctx, AVCodec *codec); ^~~~~~~~~~~~ CC libavfilter/transform.o CC libavfilter/vf_aspect.o CC libavfilter/vf_blackframe.o CC libavfilter/vf_boxblur.o CC libavfilter/vf_copy.o CC libavfilter/vf_crop.o CC libavfilter/vf_cropdetect.o CC libavfilter/vf_delogo.o CC libavfilter/vf_deshake.o CC libavfilter/vf_drawbox.o CC libavfilter/vf_fade.o CC libavfilter/vf_fieldorder.o CC libavfilter/vf_fifo.o CC libavfilter/vf_format.o CC libavfilter/vf_gradfun.o CC libavfilter/vf_hflip.o CC libavfilter/vf_hqdn3d.o CC libavfilter/vf_lut.o CC libavfilter/vf_mp.o CC libavfilter/vf_null.o CC libavfilter/vf_overlay.o CC libavfilter/vf_pad.o libavfilter/vf_mp.c: In function 'init': libavfilter/vf_mp.c:763:36: warning: passing argument 2 of 'm->vf.info->vf_open' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(m->vf.info->vf_open(&m->vf, args)<=0){ ^~~~ libavfilter/vf_mp.c:763:36: note: expected 'char *' but argument is of type 'const char *' CC libavfilter/vf_pixdesctest.o CC libavfilter/vf_scale.o CC libavfilter/vf_select.o libavfilter/vf_pixdesctest.c: In function 'start_frame': libavfilter/vf_pixdesctest.c:76:31: warning: passing argument 1 to restrict-qualified parameter aliases with argument 2 [-Wrestrict] memcpy(outpicref->data[1], outpicref->data[1], 256*4); ~~~~~~~~~~~~~~~^~~ ~~~~~~~~~~~~~~~~~~ CC libavfilter/vf_setpts.o CC libavfilter/vf_settb.o CC libavfilter/vf_showinfo.o CC libavfilter/vf_slicify.o CC libavfilter/vf_split.o CC libavfilter/vf_swapuv.o CC libavfilter/vf_thumbnail.o CC libavfilter/vf_tinterlace.o CC libavfilter/vf_transpose.o CC libavfilter/vf_unsharp.o CC libavfilter/vf_vflip.o CC libavfilter/vf_yadif.o CC libavfilter/vsink_nullsink.o CC libavfilter/vsrc_buffer.o CC libavfilter/vsrc_cellauto.o CC libavfilter/vsrc_color.o CC libavfilter/vsrc_life.o CC libavfilter/vsrc_mandelbrot.o CC libavfilter/vsrc_mptestsrc.o CC libavfilter/vsrc_testsrc.o CC libavcodec/4xm.o CC libavcodec/8bps.o CC libavcodec/8svx.o libavcodec/4xm.c: In function 'init_vlcs': libavcodec/4xm.c:245:35: warning: iteration 4 invokes undefined behavior [-Waggressive-loop-optimizations] block_type_vlc[0][i].table= table[i]; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ libavcodec/4xm.c:244:5: note: within this loop for(i=0; i<8; i++){ ^~~ CC libavcodec/a64multienc.o CC libavcodec/aac_ac3_parser.o CC libavcodec/aac_adtstoasc_bsf.o CC libavcodec/aac_parser.o CC libavcodec/aacadtsdec.o 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/aaccoder.o CC libavcodec/aacdec.o CC libavcodec/aacenc.o CC libavcodec/aacps.o CC libavcodec/aacpsy.o CC libavcodec/aacsbr.o libavcodec/aacdec.c: In function 'aac_decode_frame_int': libavcodec/aacdec.c:2286:43: warning: to be safe all intermediate pointers in cast from 'float **' to 'const float **' must be 'const' qualified [-Wcast-qual] (const float **)ac->output_data, ^ libavcodec/aacdec.c:2290:52: warning: to be safe all intermediate pointers in cast from 'float **' to 'const float **' must be 'const' qualified [-Wcast-qual] (const float **)ac->output_data, ^ libavcodec/aacpsy.c: In function 'psy_3gpp_analyze_channel': libavcodec/aacpsy.c:677:27: warning: 'reduction' may be used uninitialized in this function [-Wmaybe-uninitialized] reduction += calc_reduction_3gpp(a, desired_pe_no_ah, pe_no_ah, active_lines); ^~ CC libavcodec/aactab.o libavcodec/aacps.c: In function 'ff_ps_apply': libavcodec/aacps.c:963:26: warning: 'h22i_step' may be used uninitialized in this function [-Wmaybe-uninitialized] h22i += h22i_step; ^~ libavcodec/aacps.c:915:52: note: 'h22i_step' was declared here float h11i_step, h12i_step, h21i_step, h22i_step; ^~~~~~~~~ libavcodec/aacps.c:962:26: warning: 'h21i_step' may be used uninitialized in this function [-Wmaybe-uninitialized] h21i += h21i_step; ^~ libavcodec/aacps.c:915:41: note: 'h21i_step' was declared here float h11i_step, h12i_step, h21i_step, h22i_step; ^~~~~~~~~ libavcodec/aacps.c:961:26: warning: 'h12i_step' may be used uninitialized in this function [-Wmaybe-uninitialized] h12i += h12i_step; ^~ libavcodec/aacps.c:915:30: note: 'h12i_step' was declared here float h11i_step, h12i_step, h21i_step, h22i_step; ^~~~~~~~~ libavcodec/aacps.c:960:26: warning: 'h11i_step' may be used uninitialized in this function [-Wmaybe-uninitialized] h11i += h11i_step; ^~ libavcodec/aacps.c:915:19: note: 'h11i_step' was declared here float h11i_step, h12i_step, h21i_step, h22i_step; ^~~~~~~~~ libavcodec/aacps.c:947:45: warning: 'h22i' may be used uninitialized in this function [-Wmaybe-uninitialized] h22i_step = (H22[1][e+1][b] - h22i) * width; ^ libavcodec/aacps.c:913:37: note: 'h22i' was declared here float h11i, h12i, h21i, h22i; ^~~~ libavcodec/aacps.c:946:45: warning: 'h21i' may be used uninitialized in this function [-Wmaybe-uninitialized] h21i_step = (H21[1][e+1][b] - h21i) * width; ^ libavcodec/aacps.c:913:31: note: 'h21i' was declared here float h11i, h12i, h21i, h22i; ^~~~ libavcodec/aacps.c:945:45: warning: 'h12i' may be used uninitialized in this function [-Wmaybe-uninitialized] h12i_step = (H12[1][e+1][b] - h12i) * width; ^ libavcodec/aacps.c:913:25: note: 'h12i' was declared here float h11i, h12i, h21i, h22i; ^~~~ libavcodec/aacps.c:944:45: warning: 'h11i' may be used uninitialized in this function [-Wmaybe-uninitialized] h11i_step = (H11[1][e+1][b] - h11i) * width; ^ libavcodec/aacps.c:913:19: note: 'h11i' was declared here float h11i, h12i, h21i, h22i; ^~~~ CC libavcodec/aandcttab.o CC libavcodec/aasc.o CC libavcodec/ac3.o CC libavcodec/ac3_parser.o CC libavcodec/ac3dec.o libavcodec/aacsbr.c: In function 'ff_decode_sbr_extension': libavcodec/aacsbr.c:385: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:317:24: note: 'max_qmf_subbands' was declared here unsigned int temp, max_qmf_subbands; ^~~~~~~~~~~~~~~~ CC libavcodec/ac3dec_data.o libavcodec/ac3dec.c: In function 'ac3_decode_init': libavcodec/ac3dec.c:166:5: warning: 'drc_scale' is deprecated [-Wdeprecated-declarations] if (avctx->drc_scale) ^~ In file included from libavcodec/internal.h:30, from libavcodec/ac3dec.c:34: libavcodec/avcodec.h:2900:32: note: declared here attribute_deprecated float drc_scale; ^~~~~~~~~ libavcodec/ac3dec.c:167:9: warning: 'drc_scale' is deprecated [-Wdeprecated-declarations] s->drc_scale = avctx->drc_scale; ^ In file included from libavcodec/internal.h:30, from libavcodec/ac3dec.c:34: libavcodec/avcodec.h:2900:32: note: declared here attribute_deprecated float drc_scale; ^~~~~~~~~ CC libavcodec/ac3dsp.o CC libavcodec/ac3enc.o CC libavcodec/ac3enc_fixed.o CC libavcodec/ac3enc_float.o CC libavcodec/ac3tab.o CC libavcodec/acelp_filters.o CC libavcodec/acelp_pitch_delay.o CC libavcodec/acelp_vectors.o libavcodec/ac3enc.c: In function 'ff_ac3_apply_rematrixing': libavcodec/ac3enc.c:287:22: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] if (flags[bnd]) { ~~~~~^~~~~ CC libavcodec/adpcm.o CC libavcodec/adpcm_data.o CC libavcodec/adpcmenc.o CC libavcodec/adx.o CC libavcodec/adx_parser.o CC libavcodec/adxdec.o libavcodec/adpcm.c: In function 'adpcm_decode_frame': libavcodec/adpcm.c:1204:25: warning: iteration 16 invokes undefined behavior [-Waggressive-loop-optimizations] table[0][i] = (int16_t)bytestream_get_be16(&src); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/adpcm.c:1203:9: note: within this loop for (i = 0; i < 32; i++) ^~~ libavcodec/adpcm.c:1208:24: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] prev[0][i] = (int16_t)bytestream_get_be16(&src); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/adpcm.c:1207:9: note: within this loop for (i = 0; i < 4; i++) ^~~ CC libavcodec/adxenc.o CC libavcodec/alac.o CC libavcodec/alacenc.o CC libavcodec/allcodecs.o CC libavcodec/alsdec.o CC libavcodec/amrnbdec.o CC libavcodec/amrwbdec.o CC libavcodec/anm.o CC libavcodec/ansi.o CC libavcodec/apedec.o CC libavcodec/ass.o libavcodec/ansi.c: In function 'decode_frame': libavcodec/ansi.c:224:13: warning: 'height' may be used uninitialized in this function [-Wmaybe-uninitialized] avcodec_set_dimensions(avctx, width, height); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/ansi.c:162:24: note: 'height' was declared here int ret, i, width, height; ^~~~~~ libavcodec/ansi.c:224:13: warning: 'width' may be used uninitialized in this function [-Wmaybe-uninitialized] avcodec_set_dimensions(avctx, width, height); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/ansi.c:162:17: note: 'width' was declared here int ret, i, width, height; ^~~~~ CC libavcodec/ass_split.o CC libavcodec/assdec.o libavcodec/amrwbdec.c: In function 'amrwb_decode_frame': libavcodec/amrwbdec.c:907:12: warning: array subscript -15 is below array bounds of 'float[14]' [-Warray-bounds] float *diff_hi = diff_isf - LP_ORDER + 1; // diff array for extrapolated indexes ^~~~~~~ libavcodec/amrwbdec.c:907:12: warning: array subscript -15 is below array bounds of 'float[14]' [-Warray-bounds] CC libavcodec/assenc.o CC libavcodec/asv1.o CC libavcodec/atrac.o CC libavcodec/atrac1.o CC libavcodec/atrac3.o CC libavcodec/audioconvert.o CC libavcodec/aura.o CC libavcodec/avfft.o libavcodec/atrac1.c: In function 'atrac1_decode_frame': libavcodec/atrac1.c:322:47: warning: to be safe all intermediate pointers in cast from 'float **' to 'const float **' must be 'const' qualified [-Wcast-qual] q->fmt_conv.float_interleave(samples, (const float **)q->out_samples, ^ libavcodec/atrac3.c: In function 'atrac3_decode_frame': libavcodec/atrac3.c:883:38: warning: to be safe all intermediate pointers in cast from 'float **' to 'const float **' must be 'const' qualified [-Wcast-qual] (const float **)q->outSamples, ^ libavcodec/atrac3.c:887:47: warning: to be safe all intermediate pointers in cast from 'float **' to 'const float **' must be 'const' qualified [-Wcast-qual] (const float **)q->outSamples, ^ CC libavcodec/avpacket.o CC libavcodec/avs.o CC libavcodec/bethsoftvideo.o CC libavcodec/bfi.o CC libavcodec/bgmc.o libavcodec/avpacket.c: In function 'av_dup_packet': libavcodec/avpacket.c:130: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:27:6: note: declared here void av_destruct_packet_nofree(AVPacket *pkt) ^~~~~~~~~~~~~~~~~~~~~~~~~ CC libavcodec/bink.o CC libavcodec/binkaudio.o In file included from libavcodec/avs.c:23: libavcodec/avs.c: In function 'avs_decode_frame': libavcodec/get_bits.h:260:17: warning: 'change_map.size_in_bits_plus8' may be used uninitialized in this function [-Wmaybe-uninitialized] OPEN_READER(re, s); ^~ libavcodec/avs.c:60:19: note: 'change_map.size_in_bits_plus8' was declared here GetBitContext change_map; ^~~~~~~~~~ In file included from libavcodec/avs.c:23: libavcodec/get_bits.h:269:31: warning: 'change_map.buffer' may be used uninitialized in this function [-Wmaybe-uninitialized] uint8_t result = s->buffer[index>>3]; ^ libavcodec/avs.c:60:19: note: 'change_map.buffer' was declared here GetBitContext change_map; ^~~~~~~~~~ CC libavcodec/binkdsp.o CC libavcodec/bintext.o CC libavcodec/bitstream.o CC libavcodec/bitstream_filter.o libavcodec/binkaudio.c: In function 'decode_block': libavcodec/binkaudio.c:269:43: warning: to be safe all intermediate pointers in cast from 'float **' to 'const float **' must be 'const' qualified [-Wcast-qual] (const float **)s->prev_ptr, ^ libavcodec/binkaudio.c:271:48: warning: to be safe all intermediate pointers in cast from 'float **' to 'const float **' must be 'const' qualified [-Wcast-qual] s->fmt_conv.float_to_int16_interleave(out, (const float **)s->coeffs_ptr, ^ libavcodec/bintext.c:92:13: warning: 'hscroll' defined but not used [-Wunused-function] static void hscroll(AVCodecContext *avctx) ^~~~~~~ CC libavcodec/bmp.o CC libavcodec/bmpenc.o 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/bmv.o CC libavcodec/c93.o CC libavcodec/cabac.o libavcodec/bmp.c: In function 'bmp_decode_frame': libavcodec/bmp.c:174:59: warning: 'rgb[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (rgb[0] == 0x0F00 && rgb[1] == 0x00F0 && rgb[2] == 0x000F) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ libavcodec/bmp.c:174:39: warning: 'rgb[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (rgb[0] == 0x0F00 && rgb[1] == 0x00F0 && rgb[2] == 0x000F) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ libavcodec/bmp.c:174:21: warning: 'rgb[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (rgb[0] == 0x0F00 && rgb[1] == 0x00F0 && rgb[2] == 0x000F) ^ CC libavcodec/cavs.o CC libavcodec/cavs_parser.o CC libavcodec/cavsdec.o CC libavcodec/cavsdsp.o CC libavcodec/cdgraphics.o CC libavcodec/celp_filters.o CC libavcodec/celp_math.o CC libavcodec/cga_data.o CC libavcodec/chomp_bsf.o CC libavcodec/cinepak.o CC libavcodec/cljr.o libavcodec/chomp_bsf.c: In function 'chomp_filter': libavcodec/chomp_bsf.c:34:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] *poutbuf = (uint8_t*) buf; ^ CC libavcodec/cook.o CC libavcodec/cscd.o CC libavcodec/dca.o CC libavcodec/cyuv.o In file included from ./libavutil/intreadwrite.h:25, from libavcodec/get_bits.h:31, from libavcodec/cook.c:47: libavcodec/cook.c: In function 'decode_bytes': ./libavutil/bswap.h:51:30: warning: result of '935662066 << 8' requires 39 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=] #define AV_BSWAP16C(x) (((x) << 8 & 0xff00) | ((x) >> 8 & 0x00ff)) ^~ ./libavutil/bswap.h:52:25: note: in expansion of macro 'AV_BSWAP16C' #define AV_BSWAP32C(x) (AV_BSWAP16C(x) << 16 | AV_BSWAP16C((x) >> 16)) ^~~~~~~~~~~ ./libavutil/bswap.h:55:25: note: in expansion of macro 'AV_BSWAP32C' #define AV_BSWAPC(s, x) AV_BSWAP##s##C(x) ^~~~~~~~ ./libavutil/bswap.h:98:25: note: in expansion of macro 'AV_BSWAPC' #define AV_BE2NEC(s, x) AV_BSWAPC(s, x) ^~~~~~~~~ ./libavutil/bswap.h:103:24: note: in expansion of macro 'AV_BE2NEC' #define AV_BE2NE32C(x) AV_BE2NEC(32, x) ^~~~~~~~~ libavcodec/cook.c:283:9: note: in expansion of macro 'AV_BE2NE32C' AV_BE2NE32C(0x37c511f2), AV_BE2NE32C(0xf237c511), ^~~~~~~~~~~ ./libavutil/bswap.h:51:30: warning: result of '301086661 << 8' requires 38 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=] #define AV_BSWAP16C(x) (((x) << 8 & 0xff00) | ((x) >> 8 & 0x00ff)) ^~ ./libavutil/bswap.h:52:25: note: in expansion of macro 'AV_BSWAP16C' #define AV_BSWAP32C(x) (AV_BSWAP16C(x) << 16 | AV_BSWAP16C((x) >> 16)) ^~~~~~~~~~~ ./libavutil/bswap.h:55:25: note: in expansion of macro 'AV_BSWAP32C' #define AV_BSWAPC(s, x) AV_BSWAP##s##C(x) ^~~~~~~~ ./libavutil/bswap.h:98:25: note: in expansion of macro 'AV_BSWAPC' #define AV_BE2NEC(s, x) AV_BSWAPC(s, x) ^~~~~~~~~ ./libavutil/bswap.h:103:24: note: in expansion of macro 'AV_BE2NEC' #define AV_BE2NE32C(x) AV_BE2NEC(32, x) ^~~~~~~~~ libavcodec/cook.c:284:9: note: in expansion of macro 'AV_BE2NE32C' AV_BE2NE32C(0x11f237c5), AV_BE2NE32C(0xc511f237), ^~~~~~~~~~~ CC libavcodec/dca_parser.o CC libavcodec/dcadsp.o CC libavcodec/dcaenc.o CC libavcodec/dct.o CC libavcodec/dct32_fixed.o libavcodec/dca.c:1994:24: warning: 'profiles' defined but not used [-Wunused-const-variable=] static const AVProfile profiles[] = { ^~~~~~~~ CC libavcodec/dct32_float.o libavcodec/dcaenc.c: In function 'init_lfe_fir': libavcodec/dcaenc.c:226:36: warning: iteration 256 invokes undefined behavior [-Waggressive-loop-optimizations] lfe_fir_64i[i] = lfe_fir_64[i] * (1 << 25); //float -> int32_t ~~~~~~~~~~^~~ libavcodec/dcaenc.c:225:5: note: within this loop for (i = 0; i < 512; i++) ^~~ CC libavcodec/dfa.o CC libavcodec/dirac.o CC libavcodec/dirac_arith.o CC libavcodec/dirac_parser.o CC libavcodec/diracdec.o CC libavcodec/diracdsp.o CC libavcodec/dnxhd_parser.o libavcodec/dca.c: In function 'dca_decode_frame': libavcodec/dca.c:1667:21: warning: 'active_ss_mask[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (active_ss_mask[i] & (1 << j)) ^~~~~~~~~~~~~~ libavcodec/dca.c:1624:9: note: 'active_ss_mask[0]' was declared here int active_ss_mask[8]; ^~~~~~~~~~~~~~ CC libavcodec/dnxhddata.o CC libavcodec/dnxhddec.o CC libavcodec/dnxhdenc.o CC libavcodec/dpcm.o libavcodec/dnxhddata.c:455:22: warning: 'dnxhd_1238_ac_index_flag' defined but not used [-Wunused-const-variable=] static const uint8_t dnxhd_1238_ac_index_flag[257] = { ^~~~~~~~~~~~~~~~~~~~~~~~ CC libavcodec/dpx.o CC libavcodec/dpxenc.o CC libavcodec/dsicinav.o CC libavcodec/dsputil.o CC libavcodec/dump_extradata_bsf.o CC libavcodec/dv.o CC libavcodec/dvbsub.o libavcodec/dvbsub.c: In function 'dvb_encode_rle8': libavcodec/dvbsub.c:202:24: warning: variable 'f' set but not used [-Wunused-but-set-variable] int x, y, len, x1, f, color; ^ libavcodec/dv.c: In function 'dvvideo_decode_frame': libavcodec/dv.c:1092:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] s->buf = buf; ^ CC libavcodec/dvbsub_parser.o CC libavcodec/dvbsubdec.o CC libavcodec/dvdata.o CC libavcodec/dvdsub_parser.o libavcodec/dvbsubdec.c: In function 'dvbsub_parse_region_segment': libavcodec/dvbsubdec.c:1034:9: warning: variable 'version' set but not used [-Wunused-but-set-variable] int version; ^~~~~~~ CC libavcodec/dvdsubdec.o CC libavcodec/dvdsubenc.o CC libavcodec/dwt.o libavcodec/dwt.c: In function 'spatial_compose_dd97i_dy': libavcodec/dwt.c:1080:49: warning: initialization of 'vertical_compose_3tap' {aka 'void (*)(short int *, short int *, short int *, int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] vertical_compose_3tap vertical_compose_l0 = d->vertical_compose_l0; ^ libavcodec/dwt.c:1081:49: warning: initialization of 'vertical_compose_5tap' {aka 'void (*)(short int *, short int *, short int *, short int *, short int *, int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] vertical_compose_5tap vertical_compose_h0 = d->vertical_compose_h0; ^ libavcodec/dwt.c: In function 'spatial_compose_dirac53i_dy': libavcodec/dwt.c:1104:49: warning: initialization of 'vertical_compose_3tap' {aka 'void (*)(short int *, short int *, short int *, int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] vertical_compose_3tap vertical_compose_l0 = d->vertical_compose_l0; ^ libavcodec/dwt.c:1105:49: warning: initialization of 'vertical_compose_3tap' {aka 'void (*)(short int *, short int *, short int *, int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] vertical_compose_3tap vertical_compose_h0 = d->vertical_compose_h0; ^ libavcodec/dwt.c: In function 'spatial_compose_dd137i_dy': libavcodec/dwt.c:1127:49: warning: initialization of 'vertical_compose_5tap' {aka 'void (*)(short int *, short int *, short int *, short int *, short int *, int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] vertical_compose_5tap vertical_compose_l0 = d->vertical_compose_l0; ^ libavcodec/dwt.c:1128:49: warning: initialization of 'vertical_compose_5tap' {aka 'void (*)(short int *, short int *, short int *, short int *, short int *, int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] vertical_compose_5tap vertical_compose_h0 = d->vertical_compose_h0; ^ libavcodec/dwt.c: In function 'spatial_compose_haari_dy': libavcodec/dwt.c:1152:46: warning: initialization of 'vertical_compose_2tap' {aka 'void (*)(short int *, short int *, int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] vertical_compose_2tap vertical_compose = d->vertical_compose; ^ libavcodec/dwt.c: In function 'spatial_compose_fidelity': libavcodec/dwt.c:1168:49: warning: initialization of 'vertical_compose_9tap' {aka 'void (*)(short int *, short int **, int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] vertical_compose_9tap vertical_compose_l0 = d->vertical_compose_l0; ^ libavcodec/dwt.c:1169:49: warning: initialization of 'vertical_compose_9tap' {aka 'void (*)(short int *, short int **, int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] vertical_compose_9tap vertical_compose_h0 = d->vertical_compose_h0; ^ libavcodec/dwt.c: In function 'spatial_compose_daub97i_dy': libavcodec/dwt.c:1193:49: warning: initialization of 'vertical_compose_3tap' {aka 'void (*)(short int *, short int *, short int *, int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] vertical_compose_3tap vertical_compose_l0 = d->vertical_compose_l0; ^ libavcodec/dwt.c:1194:49: warning: initialization of 'vertical_compose_3tap' {aka 'void (*)(short int *, short int *, short int *, int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] vertical_compose_3tap vertical_compose_h0 = d->vertical_compose_h0; ^ libavcodec/dwt.c:1195:49: warning: initialization of 'vertical_compose_3tap' {aka 'void (*)(short int *, short int *, short int *, int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] vertical_compose_3tap vertical_compose_l1 = d->vertical_compose_l1; ^ libavcodec/dwt.c:1196:49: warning: initialization of 'vertical_compose_3tap' {aka 'void (*)(short int *, short int *, short int *, int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] vertical_compose_3tap vertical_compose_h1 = d->vertical_compose_h1; ^ libavcodec/dwt.c: In function 'ff_spatial_idwt_init2': libavcodec/dwt.c:1303:32: warning: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(IDWTELEM *, IDWTELEM *, IDWTELEM *, int)' {aka 'void (*)(short int *, short int *, short int *, int)'} [-Wincompatible-pointer-types] d->vertical_compose_l0 = vertical_compose53iL0; ^ libavcodec/dwt.c:1304:32: warning: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(IDWTELEM *, IDWTELEM *, IDWTELEM *, IDWTELEM *, IDWTELEM *, int)' {aka 'void (*)(short int *, short int *, short int *, short int *, short int *, int)'} [-Wincompatible-pointer-types] d->vertical_compose_h0 = vertical_compose_dd97iH0; ^ libavcodec/dwt.c:1310:32: warning: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(IDWTELEM *, IDWTELEM *, IDWTELEM *, int)' {aka 'void (*)(short int *, short int *, short int *, int)'} [-Wincompatible-pointer-types] d->vertical_compose_l0 = vertical_compose53iL0; ^ libavcodec/dwt.c:1311:32: warning: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(IDWTELEM *, IDWTELEM *, IDWTELEM *, int)' {aka 'void (*)(short int *, short int *, short int *, int)'} [-Wincompatible-pointer-types] d->vertical_compose_h0 = vertical_compose_dirac53iH0; ^ libavcodec/dwt.c:1317:32: warning: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(IDWTELEM *, IDWTELEM *, IDWTELEM *, IDWTELEM *, IDWTELEM *, int)' {aka 'void (*)(short int *, short int *, short int *, short int *, short int *, int)'} [-Wincompatible-pointer-types] d->vertical_compose_l0 = vertical_compose_dd137iL0; ^ libavcodec/dwt.c:1318:32: warning: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(IDWTELEM *, IDWTELEM *, IDWTELEM *, IDWTELEM *, IDWTELEM *, int)' {aka 'void (*)(short int *, short int *, short int *, short int *, short int *, int)'} [-Wincompatible-pointer-types] d->vertical_compose_h0 = vertical_compose_dd97iH0; ^ libavcodec/dwt.c:1325:29: warning: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(IDWTELEM *, IDWTELEM *, int)' {aka 'void (*)(short int *, short int *, int)'} [-Wincompatible-pointer-types] d->vertical_compose = vertical_compose_haar; ^ libavcodec/dwt.c:1334:32: warning: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(IDWTELEM *, IDWTELEM **, int)' {aka 'void (*)(short int *, short int **, int)'} [-Wincompatible-pointer-types] d->vertical_compose_l0 = vertical_compose_fidelityiL0; ^ libavcodec/dwt.c:1335:32: warning: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(IDWTELEM *, IDWTELEM **, int)' {aka 'void (*)(short int *, short int **, int)'} [-Wincompatible-pointer-types] d->vertical_compose_h0 = vertical_compose_fidelityiH0; ^ libavcodec/dwt.c:1340:32: warning: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(IDWTELEM *, IDWTELEM *, IDWTELEM *, int)' {aka 'void (*)(short int *, short int *, short int *, int)'} [-Wincompatible-pointer-types] d->vertical_compose_l0 = vertical_compose_daub97iL0; ^ libavcodec/dwt.c:1341:32: warning: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(IDWTELEM *, IDWTELEM *, IDWTELEM *, int)' {aka 'void (*)(short int *, short int *, short int *, int)'} [-Wincompatible-pointer-types] d->vertical_compose_h0 = vertical_compose_daub97iH0; ^ libavcodec/dwt.c:1342:32: warning: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(IDWTELEM *, IDWTELEM *, IDWTELEM *, int)' {aka 'void (*)(short int *, short int *, short int *, int)'} [-Wincompatible-pointer-types] d->vertical_compose_l1 = vertical_compose_daub97iL1; ^ libavcodec/dwt.c:1343:32: warning: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(IDWTELEM *, IDWTELEM *, IDWTELEM *, int)' {aka 'void (*)(short int *, short int *, short int *, int)'} [-Wincompatible-pointer-types] d->vertical_compose_h1 = vertical_compose_daub97iH1; ^ CC libavcodec/dxa.o CC libavcodec/dxtory.o CC libavcodec/eac3_data.o CC libavcodec/eac3dec.o CC libavcodec/eac3enc.o CC libavcodec/eacmv.o CC libavcodec/eaidct.o CC libavcodec/eamad.o CC libavcodec/eatgq.o CC libavcodec/eatgv.o CC libavcodec/eatqi.o CC libavcodec/elbg.o libavcodec/eamad.c: In function 'decode_frame': libavcodec/eamad.c:97:44: warning: 'mv_y' may be used uninitialized in this function [-Wmaybe-uninitialized] unsigned offset = (mb_y * 8 + (mv_y/2))*t->last_frame.linesize[index] + mb_x * 8 + (mv_x/2); ~~~~~^~~ libavcodec/eamad.c:198:15: note: 'mv_y' was declared here int mv_x, mv_y; ^~~~ libavcodec/eamad.c:97:97: warning: 'mv_x' may be used uninitialized in this function [-Wmaybe-uninitialized] unsigned offset = (mb_y * 8 + (mv_y/2))*t->last_frame.linesize[index] + mb_x * 8 + (mv_x/2); ~~~~~^~~ libavcodec/eamad.c:198:9: note: 'mv_x' was declared here int mv_x, mv_y; ^~~~ CC libavcodec/error_resilience.o CC libavcodec/escape124.o CC libavcodec/escape130.o CC libavcodec/faandct.o CC libavcodec/faanidct.o CC libavcodec/faxcompr.o CC libavcodec/fft_fixed.o CC libavcodec/fft_float.o CC libavcodec/ffv1.o In file included from libavcodec/fft_fixed.c:20: libavcodec/fft.c:269:6: warning: 'pass_big' defined but not used [-Wunused-function] PASS(pass_big) ^~~~~~~~ libavcodec/fft.c:246:13: note: in definition of macro 'PASS' static void name(FFTComplex *z, const FFTSample *wre, unsigned int n)\ ^~~~ CC libavcodec/ffwavesynth.o In file included from libavcodec/fft_float.c:20: libavcodec/fft.c:269:6: warning: 'pass_big' defined but not used [-Wunused-function] PASS(pass_big) ^~~~~~~~ libavcodec/fft.c:246:13: note: in definition of macro 'PASS' static void name(FFTComplex *z, const FFTSample *wre, unsigned int n)\ ^~~~ CC libavcodec/flac.o CC libavcodec/flac_parser.o CC libavcodec/flacdata.o CC libavcodec/flacdec.o libavcodec/flac_parser.c: In function 'flac_parse': libavcodec/flac_parser.c:572:50: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] av_fifo_generic_write(fpc->fifo_buf, (void*) read_start, ^ CC libavcodec/flacenc.o CC libavcodec/flashsv.o CC libavcodec/flashsv2enc.o libavcodec/flashsv2enc.c:760:21: warning: 'color15_7_factor' defined but not used [-Wunused-const-variable=] static const double color15_7_factor = 100; ^~~~~~~~~~~~~~~~ libavcodec/flashsv2enc.c:743:21: warning: 'use15_7_threshold' defined but not used [-Wunused-const-variable=] static const double use15_7_threshold = 8192; ^~~~~~~~~~~~~~~~~ libavcodec/flashsv2enc.c:718:21: warning: 'block_size_fraction' defined but not used [-Wunused-const-variable=] static const double block_size_fraction = 1.0 / 300; ^~~~~~~~~~~~~~~~~~~ CC libavcodec/flashsvenc.o CC libavcodec/flicvideo.o CC libavcodec/flvdec.o libavcodec/ffv1.c: In function 'decode_frame': libavcodec/ffv1.c:1678:29: warning: 'context_count' may be used uninitialized in this function [-Wmaybe-uninitialized] p->context_count= context_count; ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ libavcodec/ffv1.c:1548:15: note: 'context_count' was declared here int i, j, context_count; ^~~~~~~~~~~~~ CC libavcodec/fmtconvert.o libavcodec/flacenc.c: In function 'flac_encode_init': libavcodec/flacenc.c:300:5: warning: 'lpc_type' is deprecated [-Wdeprecated-declarations] if (avctx->lpc_type > FF_LPC_TYPE_DEFAULT) { ^~ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:3101:41: note: declared here attribute_deprecated enum AVLPCType lpc_type; ^~~~~~~~ libavcodec/flacenc.c:300:25: warning: comparison between 'enum AVLPCType' and 'enum FFLPCType' [-Wenum-compare] if (avctx->lpc_type > FF_LPC_TYPE_DEFAULT) { ^ libavcodec/flacenc.c:301:9: warning: 'lpc_type' is deprecated [-Wdeprecated-declarations] if (avctx->lpc_type > FF_LPC_TYPE_CHOLESKY) { ^~ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:3101:41: note: declared here attribute_deprecated enum AVLPCType lpc_type; ^~~~~~~~ libavcodec/flacenc.c:301:29: warning: comparison between 'enum AVLPCType' and 'enum FFLPCType' [-Wenum-compare] if (avctx->lpc_type > FF_LPC_TYPE_CHOLESKY) { ^ libavcodec/flacenc.c:302:13: warning: 'lpc_type' is deprecated [-Wdeprecated-declarations] av_log(avctx, AV_LOG_ERROR, "unknown lpc type: %d\n", avctx->lpc_type); ^~~~~~ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:3101:41: note: declared here attribute_deprecated enum AVLPCType lpc_type; ^~~~~~~~ libavcodec/flacenc.c:305:9: warning: 'lpc_type' is deprecated [-Wdeprecated-declarations] s->options.lpc_type = avctx->lpc_type; ^ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:3101:41: note: declared here attribute_deprecated enum AVLPCType lpc_type; ^~~~~~~~ libavcodec/flacenc.c:307:13: warning: 'lpc_passes' is deprecated [-Wdeprecated-declarations] if (avctx->lpc_passes < 0) { ^~ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:3108:30: note: declared here attribute_deprecated int lpc_passes; ^~~~~~~~~~ libavcodec/flacenc.c:310:13: warning: 'lpc_passes' is deprecated [-Wdeprecated-declarations] } else if (avctx->lpc_passes == 0) { ^ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:3108:30: note: declared here attribute_deprecated int lpc_passes; ^~~~~~~~~~ libavcodec/flacenc.c:312:24: warning: 'lpc_passes' is deprecated [-Wdeprecated-declarations] avctx->lpc_passes); ^~~~~ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:3108:30: note: declared here attribute_deprecated int lpc_passes; ^~~~~~~~~~ libavcodec/flacenc.c:315:17: warning: 'lpc_passes' is deprecated [-Wdeprecated-declarations] s->options.lpc_passes = avctx->lpc_passes; ^ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:3108:30: note: declared here attribute_deprecated int lpc_passes; ^~~~~~~~~~ libavcodec/flacenc.c:362:5: warning: 'prediction_order_method' is deprecated [-Wdeprecated-declarations] if (avctx->prediction_order_method >= 0) { ^~ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:2857:30: note: declared here attribute_deprecated int prediction_order_method; ^~~~~~~~~~~~~~~~~~~~~~~ libavcodec/flacenc.c:363:9: warning: 'prediction_order_method' is deprecated [-Wdeprecated-declarations] if (avctx->prediction_order_method > ORDER_METHOD_LOG) { ^~ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:2857:30: note: declared here attribute_deprecated int prediction_order_method; ^~~~~~~~~~~~~~~~~~~~~~~ libavcodec/flacenc.c:365:20: warning: 'prediction_order_method' is deprecated [-Wdeprecated-declarations] avctx->prediction_order_method); ^~~~~ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:2857:30: note: declared here attribute_deprecated int prediction_order_method; ^~~~~~~~~~~~~~~~~~~~~~~ libavcodec/flacenc.c:368:9: warning: 'prediction_order_method' is deprecated [-Wdeprecated-declarations] s->options.prediction_order_method = avctx->prediction_order_method; ^ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:2857:30: note: declared here attribute_deprecated int prediction_order_method; ^~~~~~~~~~~~~~~~~~~~~~~ libavcodec/flacenc.c:371:5: warning: 'min_partition_order' is deprecated [-Wdeprecated-declarations] if (avctx->min_partition_order >= 0) { ^~ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:2863:30: note: declared here attribute_deprecated int min_partition_order; ^~~~~~~~~~~~~~~~~~~ libavcodec/flacenc.c:372:9: warning: 'min_partition_order' is deprecated [-Wdeprecated-declarations] if (avctx->min_partition_order > MAX_PARTITION_ORDER) { ^~ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:2863:30: note: declared here attribute_deprecated int min_partition_order; ^~~~~~~~~~~~~~~~~~~ libavcodec/flacenc.c:374:20: warning: 'min_partition_order' is deprecated [-Wdeprecated-declarations] avctx->min_partition_order); ^~~~~ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:2863:30: note: declared here attribute_deprecated int min_partition_order; ^~~~~~~~~~~~~~~~~~~ libavcodec/flacenc.c:377:9: warning: 'min_partition_order' is deprecated [-Wdeprecated-declarations] s->options.min_partition_order = avctx->min_partition_order; ^ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:2863:30: note: declared here attribute_deprecated int min_partition_order; ^~~~~~~~~~~~~~~~~~~ libavcodec/flacenc.c:379:5: warning: 'max_partition_order' is deprecated [-Wdeprecated-declarations] if (avctx->max_partition_order >= 0) { ^~ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:2869:30: note: declared here attribute_deprecated int max_partition_order; ^~~~~~~~~~~~~~~~~~~ libavcodec/flacenc.c:380:9: warning: 'max_partition_order' is deprecated [-Wdeprecated-declarations] if (avctx->max_partition_order > MAX_PARTITION_ORDER) { ^~ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:2869:30: note: declared here attribute_deprecated int max_partition_order; ^~~~~~~~~~~~~~~~~~~ libavcodec/flacenc.c:382:20: warning: 'max_partition_order' is deprecated [-Wdeprecated-declarations] avctx->max_partition_order); ^~~~~ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:2869:30: note: declared here attribute_deprecated int max_partition_order; ^~~~~~~~~~~~~~~~~~~ libavcodec/flacenc.c:385:9: warning: 'max_partition_order' is deprecated [-Wdeprecated-declarations] s->options.max_partition_order = avctx->max_partition_order; ^ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:2869:30: note: declared here attribute_deprecated int max_partition_order; ^~~~~~~~~~~~~~~~~~~ libavcodec/flacenc.c:408:5: warning: 'lpc_coeff_precision' is deprecated [-Wdeprecated-declarations] if (avctx->lpc_coeff_precision > 0) { ^~ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:2850:30: note: declared here attribute_deprecated int lpc_coeff_precision; ^~~~~~~~~~~~~~~~~~~ libavcodec/flacenc.c:409:9: warning: 'lpc_coeff_precision' is deprecated [-Wdeprecated-declarations] if (avctx->lpc_coeff_precision > MAX_LPC_PRECISION) { ^~ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:2850:30: note: declared here attribute_deprecated int lpc_coeff_precision; ^~~~~~~~~~~~~~~~~~~ libavcodec/flacenc.c:411:20: warning: 'lpc_coeff_precision' is deprecated [-Wdeprecated-declarations] avctx->lpc_coeff_precision); ^~~~~ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:2850:30: note: declared here attribute_deprecated int lpc_coeff_precision; ^~~~~~~~~~~~~~~~~~~ libavcodec/flacenc.c:414:9: warning: 'lpc_coeff_precision' is deprecated [-Wdeprecated-declarations] s->options.lpc_coeff_precision = avctx->lpc_coeff_precision; ^ In file included from libavcodec/flacenc.c:25: libavcodec/avcodec.h:2850:30: note: declared here attribute_deprecated int lpc_coeff_precision; ^~~~~~~~~~~~~~~~~~~ CC libavcodec/fraps.o CC libavcodec/frwu.o CC libavcodec/g722.o CC libavcodec/g722dec.o CC libavcodec/g722enc.o CC libavcodec/g723_1.o CC libavcodec/g726.o CC libavcodec/g729dec.o CC libavcodec/g729postfilter.o libavcodec/g729dec.c: In function 'decode_frame': libavcodec/g729dec.c:423:14: warning: assignment to 'int16_t *' {aka 'short int *'} from incompatible pointer type 'uint8_t *' {aka 'unsigned char *'} [-Wincompatible-pointer-types] out_frame= ctx->frame.data[0]; ^ CC libavcodec/gif.o CC libavcodec/gifdec.o CC libavcodec/golomb.o CC libavcodec/gsm_parser.o CC libavcodec/gsmdec.o CC libavcodec/gsmdec_data.o CC libavcodec/h261.o CC libavcodec/h261_parser.o CC libavcodec/h261dec.o CC libavcodec/h261enc.o CC libavcodec/h263.o CC libavcodec/h263_parser.o CC libavcodec/h263dec.o CC libavcodec/h264.o CC libavcodec/h264_cabac.o 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' ff_h263_decode_init_vlc(s); ^~~~~~~~~~~~~~~~~~~~~~~ CC libavcodec/h264_cavlc.o CC libavcodec/h264_direct.o libavcodec/h264.c: In function 'decode_slice_header': libavcodec/h264.c:3019:35: 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] (const uint8_t**)prev->f.data, prev->f.linesize, ^ libavcodec/h264_cabac.c: In function 'ff_h264_decode_mb_cabac': libavcodec/h264_cabac.c:2183:22: warning: this 'else' clause does not guard... [-Wmisleading-indentation] }else ^~~~ libavcodec/h264_cabac.c:2185: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); ^~~~~~~~~~~~~~ libavcodec/h264.c: In function 'fill_filter_caches_inter': libavcodec/h264.c:3383:34: 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:3398:38: warning: initialization of 'int (*)[64]' from incompatible pointer type 'int *' [-Wincompatible-pointer-types] int (*ref2frm)[64] = h->ref2frm[ h->slice_table[left_xy[LTOP]]&(MAX_SLICES-1) ][0] + (MB_MBAFF ? 20 : 2); ^ libavcodec/h264.c:3431:30: 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: In function 'decode_frame': libavcodec/h264.c:4209:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] uint8_t *p= buf+6; ^~~ At top level: libavcodec/h264.c:4415:22: warning: 'h264_vdpau_class' defined but not used [-Wunused-const-variable=] static const AVClass h264_vdpau_class = { ^~~~~~~~~~~~~~~~ libavcodec/h264.c:4385:24: warning: 'profiles' defined but not used [-Wunused-const-variable=] static const AVProfile profiles[] = { ^~~~~~~~ CC libavcodec/h264_loopfilter.o CC libavcodec/h264_mp4toannexb_bsf.o libavcodec/h264_mp4toannexb_bsf.c: In function 'h264_mp4toannexb_filter': libavcodec/h264_mp4toannexb_bsf.c:70:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] *poutbuf = (uint8_t*) buf; ^ CC libavcodec/h264_parser.o CC libavcodec/h264_ps.o CC libavcodec/h264_refs.o CC libavcodec/h264_sei.o CC libavcodec/h264dsp.o CC libavcodec/h264idct.o CC libavcodec/h264pred.o CC libavcodec/huffman.o CC libavcodec/huffyuv.o CC libavcodec/idcinvideo.o CC libavcodec/iff.o CC libavcodec/iirfilter.o CC libavcodec/imc.o libavcodec/imc.c: In function 'imc_decode_frame': libavcodec/imc.c:713:41: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(q->out_samples, 0, sizeof(q->out_samples)); ^ CC libavcodec/imgconvert.o CC libavcodec/imx_dump_header_bsf.o CC libavcodec/indeo2.o libavcodec/imgconvert.c: In function 'av_picture_copy': libavcodec/imgconvert.c:534:48: warning: passing argument 3 of 'av_image_copy' from incompatible pointer type [-Wincompatible-pointer-types] av_image_copy(dst->data, dst->linesize, src->data, ~~~^~~~~~ In file included from libavcodec/imgconvert.c:39: ./libavutil/imgutils.h:116:35: note: expected 'const uint8_t **' {aka 'const unsigned char **'} but argument is of type 'uint8_t * const*' {aka 'unsigned char * const*'} const uint8_t *src_data[4], const int src_linesizes[4], ~~~~~~~~~~~~~~~^~~~~~~~~~~ CC libavcodec/indeo3.o CC libavcodec/indeo4.o CC libavcodec/indeo5.o CC libavcodec/intelh263dec.o CC libavcodec/interplayvideo.o CC libavcodec/intrax8.o CC libavcodec/intrax8dsp.o CC libavcodec/ituh263dec.o CC libavcodec/ituh263enc.o CC libavcodec/ivi_common.o libavcodec/interplayvideo.c: In function 'ipvideo_decode_block_opcode_0xD': libavcodec/interplayvideo.c:524:9: warning: 'P[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] memset(s->pixel_ptr, P[0], 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/interplayvideo.c:525:9: warning: 'P[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] memset(s->pixel_ptr + 4, P[1], 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavcodec/ivi_dsp.o CC libavcodec/j2k.o libavcodec/ivi_dsp.c: In function 'ff_ivi_inverse_slant_8x8': libavcodec/ivi_dsp.c:394:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ libavcodec/ivi_dsp.c:397: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:434:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ libavcodec/ivi_dsp.c:437:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' src++; ^~~ CC libavcodec/j2k_dwt.o 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/j2kdec.o CC libavcodec/j2kenc.o CC libavcodec/jfdctfst.o CC libavcodec/jfdctint.o CC libavcodec/jpegls.o libavcodec/j2kdec.c: In function 'decode_tile': libavcodec/j2kdec.c:885:21: warning: assignment to 'uint16_t *' {aka 'short unsigned int *'} from incompatible pointer type 'uint8_t *' {aka 'unsigned char *'} [-Wincompatible-pointer-types] dst = line + (x * s->ncomponents + compno) * 2; ^ libavcodec/j2kenc.c:459:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void init_luts() ^~~~~~~~~ libavcodec/j2kenc.c: In function 'encode_tile': libavcodec/j2kenc.c:873:37: warning: value computed is not used [-Wunused-value] *ptr++; ^~~~~~ CC libavcodec/jpeglsdec.o CC libavcodec/jpeglsenc.o 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/jrevdct.o CC libavcodec/jvdec.o libavcodec/j2kenc.c: In function 'j2kenc_init': libavcodec/j2kenc.c:453:39: warning: 'mant' may be used uninitialized in this function [-Wmaybe-uninitialized] qntsty->mant[gbandno] = mant; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ libavcodec/j2kenc.c:441:27: note: 'mant' was declared here int expn, mant; ^~~~ CC libavcodec/kbdwin.o CC libavcodec/kgv1dec.o CC libavcodec/kmvc.o CC libavcodec/lagarith.o CC libavcodec/lagarithrac.o CC libavcodec/latm_parser.o CC libavcodec/lcldec.o CC libavcodec/lclenc.o CC libavcodec/ljpegenc.o libavcodec/lcldec.c: In function 'zlib_decomp': libavcodec/lcldec.c:142: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:171:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] unsigned char *encoded = (unsigned char *)buf; ^ CC libavcodec/loco.o CC libavcodec/lpc.o CC libavcodec/lsp.o CC libavcodec/lzw.o CC libavcodec/lzwenc.o CC libavcodec/mace.o CC libavcodec/mdct_fixed.o CC libavcodec/mdct_float.o CC libavcodec/mdec.o CC libavcodec/mimic.o CC libavcodec/mjpeg.o CC libavcodec/mjpeg2jpeg_bsf.o CC libavcodec/mjpeg_parser.o CC libavcodec/mjpega_dump_header_bsf.o CC libavcodec/mjpegbdec.o CC libavcodec/mjpegdec.o CC libavcodec/mjpegenc.o CC libavcodec/mlp.o CC libavcodec/mlp_parser.o CC libavcodec/mlpdec.o libavcodec/mjpegdec.c: In function 'ljpeg_decode_yuv_scan': libavcodec/mjpegdec.c:869:35: warning: assignment to 'uint16_t *' {aka 'short unsigned int *'} from incompatible pointer type 'uint8_t *' {aka 'unsigned char *'} [-Wincompatible-pointer-types] ptr16 = s->picture.data[c] + 2*(linesize * (v * mb_y + y)) + 2*(h * mb_x + x); //FIXME optimize this crap ^ libavcodec/mjpegdec.c:925:35: warning: assignment to 'uint16_t *' {aka 'short unsigned int *'} from incompatible pointer type 'uint8_t *' {aka 'unsigned char *'} [-Wincompatible-pointer-types] ptr16 = s->picture.data[c] + 2*(linesize * (v * mb_y + y)) + 2*(h * mb_x + x); //FIXME optimize this crap ^ libavcodec/mjpegdec.c: In function 'ff_mjpeg_decode_frame': libavcodec/mjpegdec.c:1602:72: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'const uint8_t *' {aka 'const unsigned char *'} [-Wformat=] av_log(avctx, AV_LOG_ERROR, "MJPEG packet 0x%x too big (0x%x/0x%x), corrupt data?\n", ~^ %hhn start_code, unescaped_buf_ptr, buf_size); ~~~~~~~~~~~~~~~~~ CC libavcodec/mlpdsp.o CC libavcodec/mmvideo.o CC libavcodec/motion_est.o CC libavcodec/motionpixels.o CC libavcodec/movsub_bsf.o libavcodec/mmvideo.c: In function 'mm_decode_intra': libavcodec/mmvideo.c:88:9: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i, x, y; ^ CC libavcodec/mp3_header_compress_bsf.o libavcodec/mp3_header_compress_bsf.c: In function 'mp3_header_compress': libavcodec/mp3_header_compress_bsf.c:42:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] *poutbuf= (uint8_t *) buf; ^ CC libavcodec/mp3_header_decompress_bsf.o CC libavcodec/mpc.o libavcodec/mp3_header_decompress_bsf.c: In function 'mp3_header_decompress': libavcodec/mp3_header_decompress_bsf.c:37:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] *poutbuf= (uint8_t *) buf; ^ CC libavcodec/mpc7.o CC libavcodec/mpc8.o CC libavcodec/mpeg12.o CC libavcodec/mpeg12data.o CC libavcodec/mpeg12enc.o libavcodec/mpeg12.c:2552:24: warning: 'mpeg2_video_profiles' defined but not used [-Wunused-const-variable=] static const AVProfile mpeg2_video_profiles[] = { ^~~~~~~~~~~~~~~~~~~~ CC libavcodec/mpeg4audio.o CC libavcodec/mpeg4video.o CC libavcodec/mpeg4video_parser.o CC libavcodec/mpeg4videodec.o CC libavcodec/mpegaudio.o libavcodec/mpeg4videodec.c: In function 'mpeg4_decode_mb': libavcodec/mpeg4videodec.c:1496:13: warning: 'error_recognition' is deprecated [-Wdeprecated-declarations] if (s->mb_x + s->mb_y*s->mb_width + 1 > next && s->avctx->error_recognition >= FF_ER_AGGRESSIVE) { ^~ In file included from libavcodec/mpegvideo.h:31, from libavcodec/mpeg4videodec.c:26: libavcodec/avcodec.h:1717:30: note: declared here attribute_deprecated int error_recognition; ^~~~~~~~~~~~~~~~~ CC libavcodec/mpegaudio_parser.o CC libavcodec/mpegaudiodata.o CC libavcodec/mpegaudiodec.o At top level: libavcodec/mpeg4videodec.c:2301:22: warning: 'mpeg4_vdpau_class' defined but not used [-Wunused-const-variable=] static const AVClass mpeg4_vdpau_class = { ^~~~~~~~~~~~~~~~~ libavcodec/mpeg4videodec.c:2269:24: warning: 'mpeg4_video_profiles' defined but not used [-Wunused-const-variable=] static const AVProfile mpeg4_video_profiles[] = { ^~~~~~~~~~~~~~~~~~~~ CC libavcodec/mpegaudiodec_float.o CC libavcodec/mpegaudiodecheader.o libavcodec/mpegaudiodec.c: In function 'mp_decode_layer3': libavcodec/mpegaudiodec.c:1382:13: warning: unused variable 'skip' [-Wunused-variable] int skip; ^~~~ libavcodec/mpegaudiodec.c: In function 'decode_frame_adu': libavcodec/mpegaudiodec.c:1736:5: warning: 'parse_only' is deprecated [-Wdeprecated-declarations] if (avctx->parse_only) ^~ In file included from libavcodec/mpegaudiodec.c:30: libavcodec/avcodec.h:1814:30: note: declared here attribute_deprecated int parse_only; ^~~~~~~~~~ libavcodec/mpegaudiodec.c:1703:14: warning: variable 'out_size' set but not used [-Wunused-but-set-variable] int len, out_size, ret = 0; ^~~~~~~~ In file included from libavcodec/mpegaudiodec_float.c:23: libavcodec/mpegaudiodec.c: In function 'mp_decode_layer3': libavcodec/mpegaudiodec.c:1382:13: warning: unused variable 'skip' [-Wunused-variable] int skip; ^~~~ libavcodec/mpegaudiodec.c: In function 'decode_frame_adu': libavcodec/mpegaudiodec.c:1736:5: warning: 'parse_only' is deprecated [-Wdeprecated-declarations] if (avctx->parse_only) ^~ In file included from libavcodec/mpegaudiodec.c:30, from libavcodec/mpegaudiodec_float.c:23: libavcodec/avcodec.h:1814:30: note: declared here attribute_deprecated int parse_only; ^~~~~~~~~~ In file included from libavcodec/mpegaudiodec_float.c:23: libavcodec/mpegaudiodec.c:1703:14: warning: variable 'out_size' set but not used [-Wunused-but-set-variable] int len, out_size, ret = 0; ^~~~~~~~ CC libavcodec/mpegaudiodsp.o CC libavcodec/mpegaudiodsp_fixed.o CC libavcodec/mpegaudiodsp_float.o CC libavcodec/mpegaudioenc.o CC libavcodec/mpegvideo.o In file included from libavcodec/motion_est.c:289: libavcodec/motion_est.c: In function 'interlaced_search': libavcodec/motion_est_template.c:1087: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:739: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:1087: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:739: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:1090: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:739: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:1090: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:739: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:1089: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:739: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:1089: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:739:9: note: 'P[2][0]' was declared here int P[10][2]; ^ CC libavcodec/mpegvideo_enc.o libavcodec/mpegvideo.c: In function 'ff_mpeg_update_thread_context': libavcodec/mpegvideo.c:586:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s1->bitstream_buffer_size + ^~ libavcodec/mpegvideo.c:591:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' s->bitstream_buffer_size = s1->bitstream_buffer_size; ^ libavcodec/mpegvideo.c: In function 'MPV_common_init': libavcodec/mpegvideo.c:847:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (init_duplicate_context(s->thread_context[i], s) < 0) ^~ libavcodec/mpegvideo.c:849:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' s->thread_context[i]->start_mb_y = ^ CC libavcodec/mpegvideo_parser.o CC libavcodec/mqc.o CC libavcodec/mqcdec.o CC libavcodec/mqcenc.o CC libavcodec/msgsmdec.o CC libavcodec/msmpeg4.o CC libavcodec/msmpeg4data.o CC libavcodec/msrle.o CC libavcodec/msrledec.o CC libavcodec/msvideo1.o CC libavcodec/msvideo1enc.o CC libavcodec/mxpegdec.o libavcodec/msmpeg4.c: In function 'ff_msmpeg4_encode_block': libavcodec/msmpeg4.c:907:13: warning: 'extquant' may be used uninitialized in this function [-Wmaybe-uninitialized] put_bits(&s->pb, extrabits, extquant); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/msmpeg4.c:842:15: note: 'extquant' was declared here int pred, extquant; ^~~~~~~~ CC libavcodec/nellymoser.o CC libavcodec/nellymoserdec.o CC libavcodec/nellymoserenc.o CC libavcodec/noise_bsf.o CC libavcodec/nuv.o CC libavcodec/options.o libavcodec/nuv.c: In function 'copy_frame': libavcodec/nuv.c:76: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:28: libavcodec/avcodec.h:3725: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/pamenc.o libavcodec/options.c:165:1: warning: 'weighted_p_pred' is deprecated [-Wdeprecated-declarations] {"wpredp", "weighted prediction analysis method", OFFSET(weighted_p_pred), AV_OPT_TYPE_INT, {.dbl = -1 }, INT_MIN, INT_MAX, V|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:3039:30: note: declared here attribute_deprecated int weighted_p_pred; ^~~~~~~~~~~~~~~ libavcodec/options.c:205:1: warning: 'error_recognition' is deprecated [-Wdeprecated-declarations] {"er", "set error detection aggressivity", OFFSET(error_recognition), AV_OPT_TYPE_INT, {.dbl = FF_ER_CAREFUL }, INT_MIN, INT_MAX, A|V|D, "er"}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:1717:30: note: declared here attribute_deprecated int error_recognition; ^~~~~~~~~~~~~~~~~ libavcodec/options.c:223:1: warning: 'parse_only' is deprecated [-Wdeprecated-declarations] {"parse_only", NULL, OFFSET(parse_only), AV_OPT_TYPE_INT, {.dbl = DEFAULT }, INT_MIN, INT_MAX}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:1814:30: note: declared here attribute_deprecated int parse_only; ^~~~~~~~~~ libavcodec/options.c:370:1: warning: 'antialias_algo' is deprecated [-Wdeprecated-declarations] {"antialias", "MP3 antialias algorithm", OFFSET(antialias_algo), AV_OPT_TYPE_INT, {.dbl = DEFAULT }, INT_MIN, INT_MAX, V|D, "aa"}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:2426:30: note: declared here attribute_deprecated int antialias_algo; ^~~~~~~~~~~~~~ libavcodec/options.c:419:1: warning: 'crf' is deprecated [-Wdeprecated-declarations] {"crf", "enables constant quality mode, and selects the quality (x264/VP8)", OFFSET(crf), AV_OPT_TYPE_FLOAT, {.dbl = DEFAULT }, 0, 63, V|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:2698:32: note: declared here attribute_deprecated float crf; ^~~ libavcodec/options.c:420:1: warning: 'cqp' is deprecated [-Wdeprecated-declarations] {"cqp", "constant quantization parameter rate control method", OFFSET(cqp), AV_OPT_TYPE_INT, {.dbl = -1 }, INT_MIN, INT_MAX, V|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:2706:30: note: declared here attribute_deprecated int cqp; ^~~ libavcodec/options.c:426:1: warning: 'bframebias' is deprecated [-Wdeprecated-declarations] {"bframebias", "influences how often B-frames are used", OFFSET(bframebias), AV_OPT_TYPE_INT, {.dbl = DEFAULT }, INT_MIN, INT_MAX, V|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:2736:30: note: declared here attribute_deprecated int bframebias; ^~~~~~~~~~ libavcodec/options.c:430:1: warning: 'directpred' is deprecated [-Wdeprecated-declarations] {"directpred", "direct mv prediction mode - 0 (none), 1 (spatial), 2 (temporal), 3 (auto)", OFFSET(directpred), AV_OPT_TYPE_INT, {.dbl = -1 }, INT_MIN, INT_MAX, V|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:2787:30: note: declared here attribute_deprecated int directpred; ^~~~~~~~~~ libavcodec/options.c:440:1: warning: 'complexityblur' is deprecated [-Wdeprecated-declarations] {"complexityblur", "reduce fluctuations in qp (before curve compression)", OFFSET(complexityblur), AV_OPT_TYPE_FLOAT, {.dbl = -1 }, -1, FLT_MAX, V|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:2752:32: note: declared here attribute_deprecated float complexityblur; ^~~~~~~~~~~~~~ libavcodec/options.c:441:1: warning: 'deblockalpha' is deprecated [-Wdeprecated-declarations] {"deblockalpha", "in-loop deblocking filter alphac0 parameter", OFFSET(deblockalpha), AV_OPT_TYPE_INT, {.dbl = DEFAULT }, -6, 6, V|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:2760:30: note: declared here attribute_deprecated int deblockalpha; ^~~~~~~~~~~~ libavcodec/options.c:442:1: warning: 'deblockbeta' is deprecated [-Wdeprecated-declarations] {"deblockbeta", "in-loop deblocking filter beta parameter", OFFSET(deblockbeta), AV_OPT_TYPE_INT, {.dbl = DEFAULT }, -6, 6, V|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:2768:30: note: declared here attribute_deprecated int deblockbeta; ^~~~~~~~~~~ libavcodec/options.c:443:1: warning: 'partitions' is deprecated [-Wdeprecated-declarations] {"partitions", "macroblock subpartition sizes to consider", OFFSET(partitions), AV_OPT_TYPE_FLAGS, {.dbl = DEFAULT }, INT_MIN, INT_MAX, V|E, "partitions"}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:2775:30: note: declared here attribute_deprecated int partitions; ^~~~~~~~~~ libavcodec/options.c:460:1: warning: 'lpc_coeff_precision' is deprecated [-Wdeprecated-declarations] {"lpc_coeff_precision", "deprecated, use flac-specific options", OFFSET(lpc_coeff_precision), AV_OPT_TYPE_INT, {.dbl = DEFAULT }, 0, INT_MAX, A|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:2850:30: note: declared here attribute_deprecated int lpc_coeff_precision; ^~~~~~~~~~~~~~~~~~~ libavcodec/options.c:461:1: warning: 'prediction_order_method' is deprecated [-Wdeprecated-declarations] {"prediction_order_method", "deprecated, use flac-specific options", OFFSET(prediction_order_method), AV_OPT_TYPE_INT, {.dbl = -1 }, INT_MIN, INT_MAX, A|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:2857:30: note: declared here attribute_deprecated int prediction_order_method; ^~~~~~~~~~~~~~~~~~~~~~~ libavcodec/options.c:462:1: warning: 'min_partition_order' is deprecated [-Wdeprecated-declarations] {"min_partition_order", "deprecated, use flac-specific options", OFFSET(min_partition_order), AV_OPT_TYPE_INT, {.dbl = -1 }, INT_MIN, INT_MAX, A|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:2863:30: note: declared here attribute_deprecated int min_partition_order; ^~~~~~~~~~~~~~~~~~~ libavcodec/options.c:463:1: warning: 'max_partition_order' is deprecated [-Wdeprecated-declarations] {"max_partition_order", "deprecated, use flac-specific options", OFFSET(max_partition_order), AV_OPT_TYPE_INT, {.dbl = -1 }, INT_MIN, INT_MAX, A|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:2869:30: note: declared here attribute_deprecated int max_partition_order; ^~~~~~~~~~~~~~~~~~~ libavcodec/options.c:474:1: warning: 'drc_scale' is deprecated [-Wdeprecated-declarations] {"drc_scale", "percentage of dynamic range compression to apply", OFFSET(drc_scale), AV_OPT_TYPE_FLOAT, {.dbl = 0.0 }, 0.0, 1.0, A|D}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:2900:32: note: declared here attribute_deprecated float drc_scale; ^~~~~~~~~ libavcodec/options.c:495:1: warning: 'psy_rd' is deprecated [-Wdeprecated-declarations] {"psy_rd", "specify psycho visual strength", OFFSET(psy_rd), AV_OPT_TYPE_FLOAT, {.dbl = -1.0 }, -1, FLT_MAX, V|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:3065:32: note: declared here attribute_deprecated float psy_rd; ^~~~~~ libavcodec/options.c:496:1: warning: 'psy_trellis' is deprecated [-Wdeprecated-declarations] {"psy_trellis", "specify psycho visual trellis", OFFSET(psy_trellis), AV_OPT_TYPE_FLOAT, {.dbl = -1 }, -1, FLT_MAX, V|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:3073:32: note: declared here attribute_deprecated float psy_trellis; ^~~~~~~~~~~ libavcodec/options.c:497:1: warning: 'aq_mode' is deprecated [-Wdeprecated-declarations] {"aq_mode", "specify aq method", OFFSET(aq_mode), AV_OPT_TYPE_INT, {.dbl = -1 }, -1, INT_MAX, V|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:3049:30: note: declared here attribute_deprecated int aq_mode; ^~~~~~~ libavcodec/options.c:498:1: warning: 'aq_strength' is deprecated [-Wdeprecated-declarations] {"aq_strength", "specify aq strength", OFFSET(aq_strength), AV_OPT_TYPE_FLOAT, {.dbl = -1.0 }, -1, FLT_MAX, V|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:3057:32: note: declared here attribute_deprecated float aq_strength; ^~~~~~~~~~~ libavcodec/options.c:499:1: warning: 'rc_lookahead' is deprecated [-Wdeprecated-declarations] {"rc_lookahead", "specify number of frames to look ahead for frametype", OFFSET(rc_lookahead), AV_OPT_TYPE_INT, {.dbl = -1 }, -1, INT_MAX, V|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:3081:30: note: declared here attribute_deprecated int rc_lookahead; ^~~~~~~~~~~~ libavcodec/options.c:502:1: warning: 'crf_max' is deprecated [-Wdeprecated-declarations] {"crf_max", "in crf mode, prevents vbv from lowering quality beyond this point", OFFSET(crf_max), AV_OPT_TYPE_FLOAT, {.dbl = DEFAULT }, 0, 51, V|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:3090:32: note: declared here attribute_deprecated float crf_max; ^~~~~~~ libavcodec/options.c:506:1: warning: 'lpc_type' is deprecated [-Wdeprecated-declarations] {"lpc_type", "deprecated, use flac-specific options", OFFSET(lpc_type), AV_OPT_TYPE_INT, {.dbl = AV_LPC_TYPE_DEFAULT }, AV_LPC_TYPE_DEFAULT, AV_LPC_TYPE_NB-1, A|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:3101:41: note: declared here attribute_deprecated enum AVLPCType lpc_type; ^~~~~~~~ libavcodec/options.c:511:1: warning: 'lpc_passes' is deprecated [-Wdeprecated-declarations] {"lpc_passes", "deprecated, use flac-specific options", OFFSET(lpc_passes), AV_OPT_TYPE_INT, {.dbl = -1 }, INT_MIN, INT_MAX, A|E}, ^ In file included from libavcodec/options.c:27: libavcodec/avcodec.h:3108:30: note: declared here attribute_deprecated int lpc_passes; ^~~~~~~~~~ libavcodec/options.c: In function 'avcodec_get_context_defaults3': libavcodec/options.c:574:5: warning: 'av_opt_set_defaults2' is deprecated [-Wdeprecated-declarations] av_opt_set_defaults2(s, flags, flags); ^~~~~~~~~~~~~~~~~~~~ In file included from libavcodec/options.c:30: ./libavutil/opt.h:370:6: note: declared here void av_opt_set_defaults2(void *s, int mask, int flags); ^~~~~~~~~~~~~~~~~~~~ libavcodec/options.c: In function 'avcodec_alloc_context2': libavcodec/options.c:632:5: warning: 'avcodec_get_context_defaults2' is deprecated [-Wdeprecated-declarations] avcodec_get_context_defaults2(avctx, codec_type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/options.c:554:6: note: declared here void avcodec_get_context_defaults2(AVCodecContext *s, enum AVMediaType codec_type){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/options.c: In function 'avcodec_get_context_defaults': libavcodec/options.c:638:5: warning: 'avcodec_get_context_defaults2' is deprecated [-Wdeprecated-declarations] avcodec_get_context_defaults2(s, AVMEDIA_TYPE_UNKNOWN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/options.c:554:6: note: declared here void avcodec_get_context_defaults2(AVCodecContext *s, enum AVMediaType codec_type){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/options.c: In function 'avcodec_alloc_context': libavcodec/options.c:642:5: warning: 'avcodec_alloc_context2' is deprecated [-Wdeprecated-declarations] return avcodec_alloc_context2(AVMEDIA_TYPE_UNKNOWN); ^~~~~~ libavcodec/options.c:627:17: note: declared here AVCodecContext *avcodec_alloc_context2(enum AVMediaType codec_type){ ^~~~~~~~~~~~~~~~~~~~~~ CC libavcodec/parser.o CC libavcodec/pcm-mpeg.o CC libavcodec/pcm.o CC libavcodec/pcx.o libavcodec/parser.c: In function 'av_parser_parse2': libavcodec/parser.c:149: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:185:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] *poutbuf= (uint8_t *) buf; ^ CC libavcodec/pcxenc.o CC libavcodec/pgssubdec.o CC libavcodec/pictordec.o CC libavcodec/png.o CC libavcodec/pngdec.o CC libavcodec/pngenc.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->gb.buffer; ^ CC libavcodec/pnm.o libavcodec/pngenc.c: In function 'png_write_row': libavcodec/pngenc.c:200:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] s->zstream.next_in = (uint8_t *)data; ^ CC libavcodec/pnm_parser.o CC libavcodec/pnmdec.o CC libavcodec/pnmenc.o CC libavcodec/proresdec2.o 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; ^ libavcodec/pnmdec.c: In function 'pnm_decode_frame': libavcodec/pnmdec.c:40:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] s->bytestream = buf; ^ libavcodec/pnmdec.c:41:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] s->bytestream_end = buf + buf_size; ^ CC libavcodec/proresdec_lgpl.o CC libavcodec/proresdsp.o CC libavcodec/proresenc.o CC libavcodec/psymodel.o libavcodec/proresdec2.c: In function 'decode_slice_luma': libavcodec/proresdec2.c:381:30: warning: passing argument 1 of 'ctx->prodsp.idct_put' from incompatible pointer type [-Wincompatible-pointer-types] ctx->prodsp.idct_put(dst, dst_stride, block+(0<<6), qmat); ^~~ libavcodec/proresdec2.c:381:30: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} libavcodec/proresdec2.c:382:33: warning: passing argument 1 of 'ctx->prodsp.idct_put' from incompatible pointer type [-Wincompatible-pointer-types] ctx->prodsp.idct_put(dst+16, dst_stride, block+(1<<6), qmat); ~~~^~~ libavcodec/proresdec2.c:382:33: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} libavcodec/proresdec2.c:383:33: warning: passing argument 1 of 'ctx->prodsp.idct_put' from incompatible pointer type [-Wincompatible-pointer-types] ctx->prodsp.idct_put(dst+8*dst_stride, dst_stride, block+(2<<6), qmat); ~~~^~~~~~~~~~~~~ libavcodec/proresdec2.c:383:33: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} libavcodec/proresdec2.c:384:46: warning: passing argument 1 of 'ctx->prodsp.idct_put' from incompatible pointer type [-Wincompatible-pointer-types] ctx->prodsp.idct_put(dst+8*dst_stride+16, dst_stride, block+(3<<6), qmat); ~~~~~~~~~~~~~~~~^~~ libavcodec/proresdec2.c:384:46: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} libavcodec/proresdec2.c: In function 'decode_slice_chroma': libavcodec/proresdec2.c:412:34: warning: passing argument 1 of 'ctx->prodsp.idct_put' from incompatible pointer type [-Wincompatible-pointer-types] ctx->prodsp.idct_put(dst, dst_stride, block+(0<<6), qmat); ^~~ libavcodec/proresdec2.c:412:34: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} libavcodec/proresdec2.c:413:37: warning: passing argument 1 of 'ctx->prodsp.idct_put' from incompatible pointer type [-Wincompatible-pointer-types] ctx->prodsp.idct_put(dst+8*dst_stride, dst_stride, block+(1<<6), qmat); ~~~^~~~~~~~~~~~~ libavcodec/proresdec2.c:413:37: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} CC libavcodec/pthread.o libavcodec/pthread.c:35: warning: "_GNU_SOURCE" redefined #define _GNU_SOURCE : note: this is the location of the previous definition CC libavcodec/ptx.o CC libavcodec/qcelpdec.o CC libavcodec/qdm2.o CC libavcodec/qdrw.o CC libavcodec/qpeg.o libavcodec/qdm2.c: In function 'fill_coding_method_array': libavcodec/qdm2.c:661:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (ch = 0; ch < nb_channels; ch++) ^~~ libavcodec/qdm2.c:690:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' acc = 0; ^~~ CC libavcodec/qtrle.o CC libavcodec/qtrleenc.o CC libavcodec/r210dec.o CC libavcodec/r210enc.o CC libavcodec/ra144.o libavcodec/qtrleenc.c: In function 'qtrle_encode_frame': libavcodec/qtrleenc.c:201:33: warning: 'bulkcount' may be used uninitialized in this function [-Wmaybe-uninitialized] s->rlecode_table[i] = bulkcount; ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ libavcodec/qtrleenc.c:123:18: note: 'bulkcount' was declared here unsigned int bulkcount; ^~~~~~~~~ CC libavcodec/ra144dec.o CC libavcodec/ra288.o CC libavcodec/ra144enc.o 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:41: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:84:5: note: in expansion of macro 'DEF_T' DEF_T(unsigned int, name, bytes, read, write) ^~~~~ libavcodec/bytestream.h:95:1: note: in expansion of macro 'DEF' DEF (be16, 2, AV_RB16, AV_WB16) ^~~ CC libavcodec/ratecontrol.o CC libavcodec/raw.o CC libavcodec/rawdec.o CC libavcodec/rawenc.o libavcodec/ra144enc.c: In function 'ra144_encode_frame': libavcodec/ra144enc.c:393:44: warning: 'm[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] g[0] = ((ff_gain_val_tab[n][0] * m[0]) >> ff_gain_exp_tab[n]) * ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ libavcodec/ra144enc.c:331:15: note: 'm[0]' was declared here int i, n, m[3]; ^ libavcodec/ra144enc.c:216:30: warning: 'best_gain' may be used uninitialized in this function [-Wmaybe-uninitialized] data[i] -= best_gain * work[i]; ^ libavcodec/ra144enc.c:193:36: note: 'best_gain' was declared here float score, gain, best_score, best_gain; ^~~~~~~~~ libavcodec/ra144enc.c:213:5: warning: 'best_vect' may be used uninitialized in this function [-Wmaybe-uninitialized] create_adapt_vect(exc, adapt_cb, best_vect); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/ra144enc.c:192:12: note: 'best_vect' was declared here int i, best_vect; ^~~~~~~~~ libavcodec/rawdec.c: In function 'raw_decode': libavcodec/rawdec.c:189:40: warning: passing argument 2 of 'avpicture_fill' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((res = avpicture_fill(picture, buf, avctx->pix_fmt, ^~~ In file included from libavcodec/rawdec.c:27: libavcodec/avcodec.h:3725: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, ~~~~~~~~~^~~ libavcodec/rawdec.c:195:23: warning: assignment to 'uint8_t *' {aka 'unsigned char *'} from incompatible pointer type 'uint32_t *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] frame->data[1]= context->palette; ^ CC libavcodec/rdft.o CC libavcodec/remove_extradata_bsf.o CC libavcodec/resample.o CC libavcodec/resample2.o CC libavcodec/rl2.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/rle.o libavcodec/ratecontrol.c: In function 'ff_rate_control_init': libavcodec/ratecontrol.c:945:29: warning: 'expected_bits' may be used uninitialized in this function [-Wmaybe-uninitialized] (int)(expected_bits / ((double)all_available_bits/s->bit_rate))); ^ libavcodec/ratecontrol.c:834:12: note: 'expected_bits' was declared here double expected_bits; ^~~~~~~~~~~~~ CC libavcodec/roqaudioenc.o CC libavcodec/roqvideo.o CC libavcodec/roqvideodec.o CC libavcodec/roqvideoenc.o CC libavcodec/rpza.o CC libavcodec/rtjpeg.o CC libavcodec/rv10.o CC libavcodec/rv30.o CC libavcodec/rv30dsp.o CC libavcodec/rv34.o CC libavcodec/rv34_parser.o libavcodec/rv30.c: In function 'rv30_loop_filter': libavcodec/rv30.c:190:38: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] if(cur_cbp && (1 << ij)) ~~~^~~~~~ libavcodec/rv30.c:232:52: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] if(r->cbp_chroma[mb_pos] && (1 << ij)) ~~~^~~~~~ CC libavcodec/rv34dsp.o CC libavcodec/rv40.o CC libavcodec/rv40dsp.o CC libavcodec/s302m.o CC libavcodec/s3tc.o CC libavcodec/sgidec.o CC libavcodec/sgienc.o CC libavcodec/shorten.o CC libavcodec/simple_idct.o CC libavcodec/sinewin.o CC libavcodec/sipr.o CC libavcodec/sipr16k.o CC libavcodec/smacker.o CC libavcodec/smc.o CC libavcodec/snow.o CC libavcodec/snowdec.o CC libavcodec/snowenc.o CC libavcodec/sonic.o CC libavcodec/sp5xdec.o CC libavcodec/srtdec.o libavcodec/sonic.c: In function 'sonic_decode_frame': libavcodec/sonic.c:872:13: warning: assignment to 'short int *' from incompatible pointer type 'uint8_t *' {aka 'unsigned char *'} [-Wincompatible-pointer-types] samples = s->frame.data[0]; ^ libavcodec/srtdec.c: In function 'srt_decode_frame': libavcodec/srtdec.c:156:55: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 126 [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "", buffer); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from ./libavutil/common.h:34, from ./libavutil/avutil.h:328, from ./libavutil/samplefmt.h:22, from libavcodec/avcodec.h:30, from libavcodec/srtdec.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 131 bytes into a destination of size 128 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/srtdec.c:141:52: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 124 [-Wformat-truncation=] "{\\fn%s}", tmp); ^~ ~~~ In file included from /usr/include/stdio.h:873, from ./libavutil/common.h:34, from ./libavutil/avutil.h:328, from ./libavutil/samplefmt.h:22, from libavcodec/avcodec.h:30, from libavcodec/srtdec.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 133 bytes into a destination of size 128 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavcodec/srtenc.o CC libavcodec/sunrast.o CC libavcodec/svq1.o CC libavcodec/svq1dec.o CC libavcodec/svq1enc.o CC libavcodec/svq3.o CC libavcodec/synth_filter.o CC libavcodec/targa.o libavcodec/svq1dec.c: In function 'svq1_decode_frame': libavcodec/svq1dec.c:648:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] uint32_t *src = (uint32_t *) (buf + 4); ^ 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:98: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); ~~~~~~~~~~~~~~~~~^~~~~~~ libavcodec/svq3.c: In function 'svq3_decode_mb': libavcodec/svq3.c:663:40: warning: passing argument 2 of 'svq3_decode_block' from incompatible pointer type [-Wincompatible-pointer-types] if (svq3_decode_block(&s->gb, h->mb_luma_dc, 0, 1)){ ~^~~~~~~~~~~~ libavcodec/svq3.c:210:65: note: expected 'DCTELEM *' {aka 'short int *'} but argument is of type 'DCTELEM (*)[32]' {aka 'short int (*)[32]'} static inline int svq3_decode_block(GetBitContext *gb, DCTELEM *block, ~~~~~~~~~^~~~~ 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:193: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:338:26: note: in expansion of macro 'AV_WN' # define AV_WN32(p, v) AV_WN(32, p, v) ^~~~~ ./libavutil/intreadwrite.h:354:27: note: in expansion of macro 'AV_WN32' # define AV_WL(s, p, v) AV_WN##s(p, v) ^~~~~ ./libavutil/intreadwrite.h:388:26: note: in expansion of macro 'AV_WL' # define AV_WL32(p, v) AV_WL(32, p, v) ^~~~~ libavcodec/svq3.c:750:13: note: in expansion of macro 'AV_WL32' AV_WL32(&s->gb.buffer[(get_bits_count(&s->gb)>>3)+1], header ^ svq3->watermark_key); ^~~~~~~ libavcodec/svq3.c:753:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] memcpy((uint8_t *) &s->gb.buffer[get_bits_count(&s->gb) >> 3], ^ CC libavcodec/targaenc.o CC libavcodec/tiertexseqv.o CC libavcodec/tiff.o CC libavcodec/tiffenc.o libavcodec/tiff.c: In function 'tiff_uncompress': libavcodec/tiff.c:89:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] zstream.next_in = src; ^ CC libavcodec/timecode.o CC libavcodec/tmv.o libavcodec/timecode.c: In function 'avpriv_timecode_to_string': libavcodec/timecode.c:98:35: warning: ':' directive output may be truncated writing 1 byte into a region of size between 0 and 11 [-Wformat-truncation=] snprintf(buf, 16, "%s%02d:%02d:%02d%c%02d", ^ libavcodec/timecode.c:98:23: note: directive argument in the range [-59, 59] snprintf(buf, 16, "%s%02d:%02d:%02d%c%02d", ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/timecode.c:98:23: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:873, from libavcodec/timecode.c:27: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 12 and 32 bytes into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavcodec/truemotion1.o CC libavcodec/truemotion2.o CC libavcodec/truespeech.o CC libavcodec/tscc.o libavcodec/truemotion2.c: In function 'tm2_read_header': libavcodec/truemotion2.c:209:20: warning: variable 'obuf' set but not used [-Wunused-but-set-variable] const uint8_t *obuf; ^~~~ 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; ^ CC libavcodec/tta.o CC libavcodec/twinvq.o CC libavcodec/txd.o CC libavcodec/ulti.o CC libavcodec/codec_names.h CC libavcodec/utvideo.o libavcodec/utvideo.c: In function 'decode_plane': libavcodec/utvideo.c:122:23: warning: '~' on a boolean expression [-Wbool-operation] const int cmask = ~(!plane_no && c->avctx->pix_fmt == PIX_FMT_YUV420P); ^ libavcodec/utvideo.c:122:23: note: did you mean to use logical not? const int cmask = ~(!plane_no && c->avctx->pix_fmt == PIX_FMT_YUV420P); ^ ! CC libavcodec/v210dec.o CC libavcodec/v210enc.o CC libavcodec/v210x.o CC libavcodec/v308dec.o CC libavcodec/v308enc.o CC libavcodec/v410dec.o CC libavcodec/v410enc.o CC libavcodec/vb.o CC libavcodec/vble.o CC libavcodec/vc1.o CC libavcodec/vc1_parser.o CC libavcodec/vc1data.o CC libavcodec/vc1dec.o CC libavcodec/vc1dsp.o CC libavcodec/vcr1.o CC libavcodec/vmdav.o libavcodec/vc1dsp.c: In function 'ff_vc1dsp_init': libavcodec/vc1dsp.c:803:39: warning: assignment to 'op_pixels_func' {aka 'void (*)(unsigned char *, const unsigned char *, int, int)'} from incompatible pointer type 'void (*)(uint8_t *, uint8_t *, int)' {aka 'void (*)(unsigned char *, unsigned char *, int)'} [-Wincompatible-pointer-types] dsp->put_vc1_mspel_pixels_tab[ 0] = ff_put_pixels8x8_c; ^ libavcodec/vc1dsp.c:820:39: warning: assignment to 'op_pixels_func' {aka 'void (*)(unsigned char *, const unsigned char *, int, int)'} from incompatible pointer type 'void (*)(uint8_t *, uint8_t *, int)' {aka 'void (*)(unsigned char *, unsigned char *, int)'} [-Wincompatible-pointer-types] dsp->avg_vc1_mspel_pixels_tab[ 0] = ff_avg_pixels8x8_c; ^ CC libavcodec/vmnc.o libavcodec/vc1dec.c: In function 'vc1_interp_mc': libavcodec/vc1dec.c:1848:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (v->cur_field_type != v->ref_field_type[1]) ^~ libavcodec/vc1dec.c:1850:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' uvmy = uvmy - 2 + 4 * v->cur_field_type; ^~~~ CC libavcodec/vorbis.o CC libavcodec/vorbis_data.o CC libavcodec/vorbisdec.o At top level: libavcodec/vc1dec.c:5717:24: warning: 'profiles' defined but not used [-Wunused-const-variable=] static const AVProfile profiles[] = { ^~~~~~~~ CC libavcodec/vorbisenc.o CC libavcodec/vp3.o CC libavcodec/vp3_parser.o libavcodec/vp3.c: In function 'unpack_superblocks': libavcodec/vp3.c:443:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ libavcodec/vp3.c:446:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' current_run = get_vlc2(gb, ^~~~~~~~~~~ CC libavcodec/vp3dsp.o CC libavcodec/vp5.o CC libavcodec/vp56.o CC libavcodec/vp56data.o CC libavcodec/vp56dsp.o CC libavcodec/vp56rac.o CC libavcodec/vp6.o CC libavcodec/vp6dsp.o CC libavcodec/vp8.o libavcodec/vc1dec.c: In function 'vc1_mc_4mv_luma': libavcodec/vc1dec.c:617:82: warning: 'ty' may be used uninitialized in this function [-Wmaybe-uninitialized] s->current_picture.f.motion_val[1][s->block_index[0] + v->blocks_off][1] = ty; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ libavcodec/vc1dec.c:616:82: warning: 'tx' may be used uninitialized in this function [-Wmaybe-uninitialized] s->current_picture.f.motion_val[1][s->block_index[0] + v->blocks_off][0] = tx; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ libavcodec/vc1dec.c: In function 'vc1_pred_mv_intfr.isra.10': libavcodec/vc1dec.c:1813:71: warning: 'py' may be used uninitialized in this function [-Wmaybe-uninitialized] s->mv[0][n][1] = s->current_picture.f.motion_val[0][xy][1] = ((py + dmv_y + r_y) & ((r_y << 1) - 1)) - r_y; ~~~^~~~~~~ libavcodec/vc1dec.c:1812:71: warning: 'px' may be used uninitialized in this function [-Wmaybe-uninitialized] s->mv[0][n][0] = s->current_picture.f.motion_val[0][xy][0] = ((px + dmv_x + r_x) & ((r_x << 1) - 1)) - r_x; ~~~^~~~~~~ CC libavcodec/vp8_parser.o CC libavcodec/vp8dsp.o CC libavcodec/vqavideo.o CC libavcodec/wavpack.o CC libavcodec/wma.o CC libavcodec/wmadec.o CC libavcodec/wmaenc.o CC libavcodec/wmalosslessdec.o libavcodec/wmalosslessdec.c: In function 'decode_init': libavcodec/wmalosslessdec.c:356:9: warning: variable 'num_possible_block_sizes' set but not used [-Wunused-but-set-variable] int num_possible_block_sizes; ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/wmalosslessdec.c: In function 'revert_acfilter': libavcodec/wmalosslessdec.c:1034:14: warning: unused variable 'icoef' [-Wunused-variable] int ich, icoef; ^~~~~ libavcodec/wmalosslessdec.c: In function 'decode_packet': libavcodec/wmalosslessdec.c:1433:39: warning: variable 'spliced_packet' set but not used [-Wunused-but-set-variable] int seekable_frame_in_packet, spliced_packet; ^~~~~~~~~~~~~~ libavcodec/wmalosslessdec.c:1433:13: warning: variable 'seekable_frame_in_packet' set but not used [-Wunused-but-set-variable] int seekable_frame_in_packet, spliced_packet; ^~~~~~~~~~~~~~~~~~~~~~~~ At top level: libavcodec/wmalosslessdec.c:582:12: warning: 'my_log2' defined but not used [-Wunused-function] static int my_log2(unsigned int i) ^~~~~~~ libavcodec/wmalosslessdec.c:316:13: warning: 'dump_int_buffer' defined but not used [-Wunused-function] static void dump_int_buffer(uint8_t *buffer, int size, int length, int delimiter) ^~~~~~~~~~~~~~~ libavcodec/wmalosslessdec.c:302:21: warning: 'dump_context' defined but not used [-Wunused-function] static void av_cold dump_context(WmallDecodeCtx *s) ^~~~~~~~~~~~ libavcodec/wmalosslessdec.c:296:12: warning: 'num_lms_update_call' defined but not used [-Wunused-variable] static int num_lms_update_call = 0; ^~~~~~~~~~~~~~~~~~~ libavcodec/wmalosslessdec.c:294:12: warning: 'num_logged_tiles' defined but not used [-Wunused-variable] static int num_logged_tiles = 0; ^~~~~~~~~~~~~~~~ libavcodec/wmalosslessdec.c:117:25: warning: 'sin64' defined but not used [-Wunused-variable] static float sin64[33]; ///< sinus table for decorrelation ^~~~~ CC libavcodec/wmaprodec.o CC libavcodec/wmavoice.o CC libavcodec/wmv2.o libavcodec/vc1dec.c: In function 'vc1_decode_frame': libavcodec/vc1dec.c:4270:50: warning: 'interpmvp' may be used uninitialized in this function [-Wmaybe-uninitialized] if (bmvtype == BMV_TYPE_INTERPOLATED && interpmvp) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ libavcodec/vc1dec.c:4194:21: note: 'interpmvp' was declared here int idx_mbmode, interpmvp; ^~~~~~~~~ CC libavcodec/wmv2dec.o CC libavcodec/wnv1.o CC libavcodec/ws-snd1.o CC libavcodec/x86/mlpdsp.o CC libavcodec/xan.o libavcodec/wmavoice.c: In function 'postfilter.constprop': libavcodec/wmavoice.c:531: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:518:18: note: 'best_hist_ptr' was declared here *best_hist_ptr; ^~~~~~~~~~~~~ CC libavcodec/xiph.o libavcodec/x86/mlpdsp.c:44:36: warning: taking address of expression of type 'void' static const void *firtable[9] = { &ff_mlp_firorder_0, &ff_mlp_firorder_1, ^ libavcodec/x86/mlpdsp.c:44:56: warning: taking address of expression of type 'void' static const void *firtable[9] = { &ff_mlp_firorder_0, &ff_mlp_firorder_1, ^ libavcodec/x86/mlpdsp.c:45:36: warning: taking address of expression of type 'void' &ff_mlp_firorder_2, &ff_mlp_firorder_3, ^ libavcodec/x86/mlpdsp.c:45:56: warning: taking address of expression of type 'void' &ff_mlp_firorder_2, &ff_mlp_firorder_3, ^ libavcodec/x86/mlpdsp.c:46:36: warning: taking address of expression of type 'void' &ff_mlp_firorder_4, &ff_mlp_firorder_5, ^ libavcodec/x86/mlpdsp.c:46:56: warning: taking address of expression of type 'void' &ff_mlp_firorder_4, &ff_mlp_firorder_5, ^ libavcodec/x86/mlpdsp.c:47:36: warning: taking address of expression of type 'void' &ff_mlp_firorder_6, &ff_mlp_firorder_7, ^ libavcodec/x86/mlpdsp.c:47:56: warning: taking address of expression of type 'void' &ff_mlp_firorder_6, &ff_mlp_firorder_7, ^ libavcodec/x86/mlpdsp.c:48:36: warning: taking address of expression of type 'void' &ff_mlp_firorder_8 }; ^ libavcodec/x86/mlpdsp.c:49:36: warning: taking address of expression of type 'void' static const void *iirtable[5] = { &ff_mlp_iirorder_0, &ff_mlp_iirorder_1, ^ libavcodec/x86/mlpdsp.c:49:56: warning: taking address of expression of type 'void' static const void *iirtable[5] = { &ff_mlp_iirorder_0, &ff_mlp_iirorder_1, ^ libavcodec/x86/mlpdsp.c:50:36: warning: taking address of expression of type 'void' &ff_mlp_iirorder_2, &ff_mlp_iirorder_3, ^ libavcodec/x86/mlpdsp.c:50:56: warning: taking address of expression of type 'void' &ff_mlp_iirorder_2, &ff_mlp_iirorder_3, ^ libavcodec/x86/mlpdsp.c:51:36: warning: taking address of expression of type 'void' &ff_mlp_iirorder_4 }; ^ CC libavcodec/xl.o CC libavcodec/xsubdec.o CC libavcodec/xsubenc.o libavcodec/wmavoice.c: In function 'synth_superframe': libavcodec/wmavoice.c:1600:27: warning: 'cur_pitch_val' may be used uninitialized in this function [-Wmaybe-uninitialized] s->last_pitch_val = cur_pitch_val; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ libavcodec/wmavoice.c:1452:42: note: 'cur_pitch_val' was declared here int n, n_blocks_x2, log_n_blocks_x2, cur_pitch_val; ^~~~~~~~~~~~~ CC libavcodec/xwddec.o CC libavcodec/xwdenc.o CC libavcodec/xxan.o CC libavcodec/y41pdec.o CC libavcodec/y41penc.o libavcodec/xxan.c: In function 'xan_decode_frame_type0': libavcodec/xxan.c:300:13: warning: variable 'corr_end' set but not used [-Wunused-but-set-variable] int corr_end, dec_size; ^~~~~~~~ CC libavcodec/yop.o CC libavcodec/yuv4dec.o CC libavcodec/yuv4enc.o CC libavcodec/zmbv.o CC libavcodec/zmbvenc.o CC libavutil/adler32.o CC libavutil/aes.o CC libavutil/audioconvert.o CC libavutil/avstring.o libavcodec/zmbv.c: In function 'decode_frame': libavcodec/zmbv.c:511:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] c->zstream.next_in = buf; ^ CC libavutil/base64.o CC libavutil/cpu.o CC libavutil/crc.o CC libavutil/des.o CC libavutil/dict.o CC libavutil/error.o CC libavutil/eval.o CC libavutil/fifo.o CC libavutil/file.o CC libavutil/imgutils.o CC libavutil/intfloat_readwrite.o CC libavutil/inverse.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/opt.o CC libavutil/parseutils.o CC libavutil/pixdesc.o CC libavutil/random_seed.o libavutil/opt.c: In function 'av_find_opt': libavutil/opt.c:41:5: warning: 'av_next_option' is deprecated [-Wdeprecated-declarations] while ((o = av_next_option(v, o))) { ^~~~~ In file included from libavutil/opt.c:30: libavutil/opt.h:347:38: note: declared here attribute_deprecated const AVOption *av_next_option(void *obj, const AVOption *last); ^~~~~~~~~~~~~~ libavutil/opt.c: In function 'av_opt_set_defaults': libavutil/opt.c:603:5: warning: 'av_opt_set_defaults2' is deprecated [-Wdeprecated-declarations] av_opt_set_defaults2(s, 0, 0); ^~~~~~~~~~~~~~~~~~~~ In file included from libavutil/opt.c:30: libavutil/opt.h:370:6: note: declared here void av_opt_set_defaults2(void *s, int mask, int flags); ^~~~~~~~~~~~~~~~~~~~ CC libavutil/rational.o CC libavutil/rc4.o CC libavutil/samplefmt.o CC libavutil/sha.o CC libavutil/tree.o CC libavutil/utils.o CC libavutil/x86/cpu.o CC libavformat/4xm.o CC libavformat/a64.o CC libavformat/aacdec.o CC libavformat/ac3dec.o CC libavformat/act.o CC libavformat/adtsenc.o CC libavformat/adxdec.o CC libavformat/aea.o 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/applehttp.o CC libavformat/applehttpproto.o CC libavformat/asf.o CC libavformat/asfcrypt.o CC libavformat/asfdec.o libavformat/applehttp.c: In function 'open_input': libavformat/applehttp.c:357:48: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4089 [-Wformat-truncation=] snprintf(url, sizeof(url), "crypto:%s", seg->url); ^~ In file included from /usr/include/stdio.h:873, from ./libavutil/common.h:34, from ./libavutil/avutil.h:328, from ./libavutil/opt.h:31, from libavformat/applehttp.c:31: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavformat/applehttp.c:355:48: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4089 [-Wformat-truncation=] snprintf(url, sizeof(url), "crypto+%s", seg->url); ^~ In file included from /usr/include/stdio.h:873, from ./libavutil/common.h:34, from ./libavutil/avutil.h:328, from ./libavutil/opt.h:31, from libavformat/applehttp.c:31: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavformat/asfenc.o CC libavformat/assdec.o CC libavformat/assenc.o CC libavformat/au.o CC libavformat/audiointerleave.o CC libavformat/avc.o CC libavformat/avidec.o CC libavformat/avienc.o CC libavformat/avio.o CC libavformat/aviobuf.o CC libavformat/avlanguage.o libavformat/avio.c: In function 'avio_enum_protocols': libavformat/avio.c:99:23: warning: initialization of 'URLProtocol **' {aka 'struct URLProtocol **'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types] URLProtocol **p = opaque; ^~~~~~ libavformat/avio.c: In function 'url_set_interrupt_cb': libavformat/avio.c:275:5: warning: 'avio_set_interrupt_cb' is deprecated [-Wdeprecated-declarations] avio_set_interrupt_cb(interrupt_cb); ^~~~~~~~~~~~~~~~~~~~~ In file included from libavformat/avformat.h:144, from libavformat/avio.c:28: libavformat/avio.h:409:27: note: declared here attribute_deprecated void avio_set_interrupt_cb(int (*interrupt_cb)(void)); ^~~~~~~~~~~~~~~~~~~~~ libavformat/avio.c: In function 'ffurl_write': libavformat/avio.c:394:38: warning: passing argument 2 of 'retry_transfer_wrapper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return retry_transfer_wrapper(h, buf, size, size, (void*)h->prot->url_write); ^~~ libavformat/avio.c:342:72: note: expected 'unsigned char *' but argument is of type 'const unsigned char *' static inline int retry_transfer_wrapper(URLContext *h, unsigned char *buf, int size, int size_min, ~~~~~~~~~~~~~~~^~~ libavformat/aviobuf.c: In function 'ffio_init_context': libavformat/aviobuf.c:93:5: warning: 'is_streamed' is deprecated [-Wdeprecated-declarations] s->is_streamed = 0; ^ In file included from libavformat/avformat.h:144, from libavformat/aviobuf.c:27: libavformat/avio.h:101:30: note: declared here attribute_deprecated int is_streamed; ^~~~~~~~~~~ libavformat/aviobuf.c: In function 'ffio_fdopen': libavformat/aviobuf.c:886:29: warning: passing argument 5 of 'avio_alloc_context' from incompatible pointer type [-Wincompatible-pointer-types] ffurl_read, ffurl_write, ffurl_seek); ^~~~~~~~~~ libavformat/aviobuf.c:139: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:886:41: warning: passing argument 6 of 'avio_alloc_context' from incompatible pointer type [-Wincompatible-pointer-types] ffurl_read, ffurl_write, ffurl_seek); ^~~~~~~~~~~ libavformat/aviobuf.c:140:25: note: expected 'int (*)(void *, uint8_t *, int)' {aka 'int (*)(void *, unsigned char *, int)'} but argument is of type 'int (*)(URLContext *, const unsigned char *, int)' {aka 'int (*)(struct URLContext *, const unsigned char *, int)'} int (*write_packet)(void *opaque, uint8_t *buf, int buf_size), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavformat/aviobuf.c:886:54: warning: passing argument 7 of 'avio_alloc_context' from incompatible pointer type [-Wincompatible-pointer-types] ffurl_read, ffurl_write, ffurl_seek); ^~~~~~~~~~ libavformat/aviobuf.c:141: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)) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavformat/aviobuf.c:893:5: warning: 'is_streamed' is deprecated [-Wdeprecated-declarations] (*s)->is_streamed = h->is_streamed; ^ In file included from libavformat/avformat.h:144, from libavformat/aviobuf.c:27: libavformat/avio.h:101:30: note: declared here attribute_deprecated int is_streamed; ^~~~~~~~~~~ CC libavformat/avs.o CC libavformat/bethsoftvid.o CC libavformat/bfi.o CC libavformat/bink.o CC libavformat/bintext.o CC libavformat/bit.o CC libavformat/bmv.o CC libavformat/c93.o libavformat/bintext.c: In function 'init_stream': libavformat/bintext.c:112:5: warning: 'time_base' is deprecated [-Wdeprecated-declarations] if (!ap->time_base.num) { ^~ In file included from libavformat/bintext.c:34: libavformat/avformat.h:350:37: note: declared here attribute_deprecated AVRational time_base; ^~~~~~~~~ libavformat/bintext.c:115:9: warning: 'time_base' is deprecated [-Wdeprecated-declarations] avpriv_set_pts_info(st, 60, ap->time_base.num, ap->time_base.den); ^~~~~~~~~~~~~~~~~~~ In file included from libavformat/bintext.c:34: libavformat/avformat.h:350:37: note: declared here attribute_deprecated AVRational time_base; ^~~~~~~~~ libavformat/bintext.c:115:9: warning: 'time_base' is deprecated [-Wdeprecated-declarations] avpriv_set_pts_info(st, 60, ap->time_base.num, ap->time_base.den); ^~~~~~~~~~~~~~~~~~~ In file included from libavformat/bintext.c:34: libavformat/avformat.h:350:37: note: declared here attribute_deprecated AVRational time_base; ^~~~~~~~~ libavformat/bintext.c:119:5: warning: 'sample_rate' is deprecated [-Wdeprecated-declarations] bin->chars_per_frame = FFMAX(av_q2d(st->time_base) * (ap->sample_rate ? ap->sample_rate : LINE_RATE), 1); ^~~ In file included from libavformat/bintext.c:34: libavformat/avformat.h:351:30: note: declared here attribute_deprecated int sample_rate; ^~~~~~~~~~~ libavformat/bintext.c:119:5: warning: 'sample_rate' is deprecated [-Wdeprecated-declarations] bin->chars_per_frame = FFMAX(av_q2d(st->time_base) * (ap->sample_rate ? ap->sample_rate : LINE_RATE), 1); ^~~ In file included from libavformat/bintext.c:34: libavformat/avformat.h:351:30: note: declared here attribute_deprecated int sample_rate; ^~~~~~~~~~~ libavformat/bintext.c:119:5: warning: 'sample_rate' is deprecated [-Wdeprecated-declarations] bin->chars_per_frame = FFMAX(av_q2d(st->time_base) * (ap->sample_rate ? ap->sample_rate : LINE_RATE), 1); ^~~ In file included from libavformat/bintext.c:34: libavformat/avformat.h:351:30: note: declared here attribute_deprecated int sample_rate; ^~~~~~~~~~~ libavformat/bintext.c:119:5: warning: 'sample_rate' is deprecated [-Wdeprecated-declarations] bin->chars_per_frame = FFMAX(av_q2d(st->time_base) * (ap->sample_rate ? ap->sample_rate : LINE_RATE), 1); ^~~ In file included from libavformat/bintext.c:34: libavformat/avformat.h:351:30: note: declared here attribute_deprecated int sample_rate; ^~~~~~~~~~~ libavformat/bintext.c:121:5: warning: 'width' is deprecated [-Wdeprecated-declarations] st->codec->width = ap->width ? ap->width : (80<<3); ^~ In file included from libavformat/bintext.c:34: libavformat/avformat.h:353:30: note: declared here attribute_deprecated int width; ^~~~~ libavformat/bintext.c:121:5: warning: 'width' is deprecated [-Wdeprecated-declarations] st->codec->width = ap->width ? ap->width : (80<<3); ^~ In file included from libavformat/bintext.c:34: libavformat/avformat.h:353:30: note: declared here attribute_deprecated int width; ^~~~~ libavformat/bintext.c:122:5: warning: 'height' is deprecated [-Wdeprecated-declarations] st->codec->height = ap->height ? ap->height : (25<<4); ^~ In file included from libavformat/bintext.c:34: libavformat/avformat.h:354:30: note: declared here attribute_deprecated int height; ^~~~~~ libavformat/bintext.c:122:5: warning: 'height' is deprecated [-Wdeprecated-declarations] st->codec->height = ap->height ? ap->height : (25<<4); ^~ In file included from libavformat/bintext.c:34: libavformat/avformat.h:354:30: note: declared here attribute_deprecated int height; ^~~~~~ libavformat/bintext.c: In function 'bintext_read_header': libavformat/bintext.c:149:9: warning: 'width' is deprecated [-Wdeprecated-declarations] if (!ap->width) ^~ In file included from libavformat/bintext.c:34: libavformat/avformat.h:353:30: note: declared here attribute_deprecated int width; ^~~~~ libavformat/bintext.c:151:9: warning: 'height' is deprecated [-Wdeprecated-declarations] if (!ap->height) ^~ In file included from libavformat/bintext.c:34: libavformat/avformat.h:354:30: note: declared here attribute_deprecated int height; ^~~~~~ libavformat/bintext.c: In function 'adf_read_header': libavformat/bintext.c:250:9: warning: 'height' is deprecated [-Wdeprecated-declarations] if (!ap->height) ^~ In file included from libavformat/bintext.c:34: libavformat/avformat.h:354:30: note: declared here attribute_deprecated int height; ^~~~~~ libavformat/bintext.c: In function 'idf_read_header': libavformat/bintext.c:304:5: warning: 'height' is deprecated [-Wdeprecated-declarations] if (!ap->height) ^~ In file included from libavformat/bintext.c:34: libavformat/avformat.h:354:30: note: declared here attribute_deprecated int height; ^~~~~~ CC libavformat/cache.o CC libavformat/caf.o CC libavformat/cafdec.o CC libavformat/cafenc.o CC libavformat/cavsvideodec.o libavformat/cache.c: In function 'cache_open': libavformat/cache.c:59:36: warning: passing argument 2 of 'av_tempfile' from incompatible pointer type [-Wincompatible-pointer-types] c->fd = av_tempfile("ffcache", &buffername, 0, h); ^~~~~~~~~~~ In file included from libavformat/cache.c:33: ./libavutil/file.h:59:44: note: expected 'char **' but argument is of type 'const char **' int av_tempfile(const char *prefix, char **filename, int log_offset, void *log_ctx); ~~~~~~~^~~~~~~~ CC libavformat/cdg.o CC libavformat/concat.o CC libavformat/crcenc.o CC libavformat/crypto.o CC libavformat/cutils.o CC libavformat/daud.o CC libavformat/dfa.o CC libavformat/diracdec.o CC libavformat/dnxhddec.o CC libavformat/dsicin.o CC libavformat/dtsdec.o CC libavformat/dv.o CC libavformat/dvenc.o CC libavformat/dxa.o CC libavformat/eacdata.o CC libavformat/electronicarts.o libavformat/dvenc.c: In function 'dv_init_mux': libavformat/dvenc.c:337:5: warning: 'timestamp' is deprecated [-Wdeprecated-declarations] if (s->timestamp) ^~ In file included from libavformat/dvenc.c:33: libavformat/avformat.h:954:34: note: declared here attribute_deprecated int64_t timestamp; ^~~~~~~~~ libavformat/dvenc.c:338:9: warning: 'timestamp' is deprecated [-Wdeprecated-declarations] c->start_time = s->timestamp; ^ In file included from libavformat/dvenc.c:33: libavformat/avformat.h:954:34: note: declared here attribute_deprecated int64_t timestamp; ^~~~~~~~~ CC libavformat/ffmdec.o libavformat/dv.c: In function 'dv_read_header': libavformat/dv.c:318:37: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 24 [-Wformat-truncation=] snprintf(tc, 32, "%02d:%02d:%02d%c%02d", ^~ libavformat/dv.c:318:22: note: directive argument in the range [0, 2147483647] snprintf(tc, 32, "%02d:%02d:%02d%c%02d", ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from libavformat/avformat.h:139, from libavformat/dv.c:32: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 12 and 44 bytes into a destination of size 32 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavformat/ffmenc.o libavformat/ffmdec.c: In function 'ffm_read_data': libavformat/ffmdec.c:127:17: warning: 'url_setbufsize' is deprecated [-Wdeprecated-declarations] url_setbufsize(pb, ffm->packet_size); ^~~~~~~~~~~~~~ In file included from libavformat/avformat.h:144, from libavformat/ffmdec.c:24: libavformat/avio.h:331:26: note: declared here attribute_deprecated int url_setbufsize(AVIOContext *s, int buf_size); ^~~~~~~~~~~~~~ libavformat/ffmdec.c: In function 'ffm_read_header': libavformat/ffmdec.c:353:13: warning: 'partitions' is deprecated [-Wdeprecated-declarations] codec->partitions = avio_rb32(pb); ^~~~~ In file included from libavformat/avformat.h:140, from libavformat/ffmdec.c:24: ./libavcodec/avcodec.h:2775:30: note: declared here attribute_deprecated int partitions; ^~~~~~~~~~ libavformat/ffmdec.c:363:13: warning: 'directpred' is deprecated [-Wdeprecated-declarations] codec->directpred = avio_rb32(pb); ^~~~~ In file included from libavformat/avformat.h:140, from libavformat/ffmdec.c:24: ./libavcodec/avcodec.h:2787:30: note: declared here attribute_deprecated int directpred; ^~~~~~~~~~ CC libavformat/ffmetadec.o CC libavformat/ffmetaenc.o CC libavformat/file.o libavformat/ffmenc.c: In function 'ffm_write_header': libavformat/ffmenc.c:160:13: warning: 'partitions' is deprecated [-Wdeprecated-declarations] avio_wb32(pb, codec->partitions); ^~~~~~~~~ In file included from libavformat/avformat.h:140, from libavformat/ffmenc.c:24: ./libavcodec/avcodec.h:2775:30: note: declared here attribute_deprecated int partitions; ^~~~~~~~~~ libavformat/ffmenc.c:170:13: warning: 'directpred' is deprecated [-Wdeprecated-declarations] avio_wb32(pb, codec->directpred); ^~~~~~~~~ In file included from libavformat/avformat.h:140, from libavformat/ffmenc.c:24: ./libavcodec/avcodec.h:2787:30: note: declared here attribute_deprecated int directpred; ^~~~~~~~~~ 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 CC libavformat/g723_1.o CC libavformat/g729dec.o CC libavformat/gif.o libavformat/flvdec.c: In function 'parse_keyframes_index': libavformat/flvdec.c:192:29: warning: variable 'size1' set but not used [-Wunused-but-set-variable] int64_t dts, size0, size1; ^~~~~ CC libavformat/gopher.o libavformat/gif.c: In function 'gif_write_header': libavformat/gif.c:292:5: warning: 'loop_output' is deprecated [-Wdeprecated-declarations] if (s->loop_output) ^~ In file included from libavformat/gif.c:42: libavformat/avformat.h:1025:30: note: declared here attribute_deprecated int loop_output; ^~~~~~~~~~~ libavformat/gif.c:293:9: warning: 'loop_output' is deprecated [-Wdeprecated-declarations] gif->loop = s->loop_output; ^~~ In file included from libavformat/gif.c:42: libavformat/avformat.h:1025:30: note: declared here attribute_deprecated int loop_output; ^~~~~~~~~~~ CC libavformat/gsmdec.o CC libavformat/gxf.o CC libavformat/gxfenc.o CC libavformat/h261dec.o CC libavformat/h263dec.o CC libavformat/h264dec.o libavformat/gxfenc.c: In function 'gxf_write_umf_material_description': libavformat/gxfenc.c:425:5: warning: 'timestamp' is deprecated [-Wdeprecated-declarations] if (s->timestamp) ^~ In file included from libavformat/gxfenc.c:26: libavformat/avformat.h:954:34: note: declared here attribute_deprecated int64_t timestamp; ^~~~~~~~~ libavformat/gxfenc.c:426:9: warning: 'timestamp' is deprecated [-Wdeprecated-declarations] timestamp = s->timestamp; ^~~~~~~~~ In file included from libavformat/gxfenc.c:26: libavformat/avformat.h:954:34: note: declared here attribute_deprecated int64_t timestamp; ^~~~~~~~~ CC libavformat/http.o CC libavformat/httpauth.o CC libavformat/icodec.o CC libavformat/id3v1.o libavformat/http.c:76:12: warning: 'https_context_class' defined but not used [-Wunused-const-variable=] HTTP_CLASS(https); ^~~~~ libavformat/http.c:68:22: note: in definition of macro 'HTTP_CLASS' static const AVClass flavor ## _context_class = {\ ^~~~~~ CC libavformat/id3v2.o libavformat/http.c: In function 'http_proxy_open': libavformat/http.c:629:14: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] "CONNECT %s HTTP/1.1\r\n" ^~~~~~~~~~~~~~~~~~~~~~~~~ libavformat/http.c:635:14: hoststr, ~~~~~~~ libavformat/http.c:630:21: note: format string is defined here "Host: %s\r\n" ^~ In file included from /usr/include/stdio.h:873, from libavformat/avformat.h:139, from libavformat/http.c:23: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 49 or more bytes (assuming 1078) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavformat/id3v2.c: In function 'read_ttag': libavformat/id3v2.c:259:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] dst = ff_id3v1_genre_str[genre]; ^ libavformat/id3v2.c: In function 'ff_id3v2_read_all': libavformat/id3v2.c:642:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ret != ID3v2_HEADER_SIZE) ^~ libavformat/id3v2.c:644:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' found_header = ff_id3v2_match(buf, magic); ^~~~~~~~~~~~ CC libavformat/id3v2enc.o CC libavformat/idcin.o CC libavformat/idroqdec.o libavformat/http.c: In function 'http_open_cnx': libavformat/http.c:369:18: warning: '%s' directive output may be truncated writing up to 1023 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:139, from libavformat/http.c:23: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 18 or more bytes (assuming 2099) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavformat/idroqenc.o CC libavformat/iff.o CC libavformat/img2.o CC libavformat/ingenientdec.o CC libavformat/ipmovie.o CC libavformat/isom.o CC libavformat/iss.o libavformat/img2.c: In function 'read_header': libavformat/img2.c:244:5: warning: 'loop_input' is deprecated [-Wdeprecated-declarations] if (s1->loop_input) ^~ In file included from libavformat/img2.c:29: libavformat/avformat.h:1049:30: note: declared here attribute_deprecated int loop_input; ^~~~~~~~~~ libavformat/img2.c:245:9: warning: 'loop_input' is deprecated [-Wdeprecated-declarations] s->loop = s1->loop_input; ^ In file included from libavformat/img2.c:29: libavformat/avformat.h:1049:30: note: declared here attribute_deprecated int loop_input; ^~~~~~~~~~ CC libavformat/iv8.o CC libavformat/ivfdec.o CC libavformat/ivfenc.o CC libavformat/jvdec.o CC libavformat/latmenc.o CC libavformat/lmlm4.o CC libavformat/loasdec.o CC libavformat/lxfdec.o CC libavformat/m4vdec.o CC libavformat/matroska.o CC libavformat/matroskadec.o CC libavformat/matroskaenc.o CC libavformat/md5enc.o CC libavformat/md5proto.o CC libavformat/metadata.o CC libavformat/microdvddec.o libavformat/matroskadec.c: In function 'matroska_read_seek': libavformat/matroskadec.c:2080:43: warning: comparison of constant '48' with boolean expression is always true [-Wbool-compare] && !tracks[i].stream->discard != AVDISCARD_ALL) { ^~ libavformat/matroskadec.c:2080:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] libavformat/matroskadec.c:2080:16: note: add parentheses around left hand side expression to silence this warning && !tracks[i].stream->discard != AVDISCARD_ALL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ ( ) CC libavformat/microdvdenc.o CC libavformat/mkvtimestamp_v2.o CC libavformat/mm.o CC libavformat/mmf.o CC libavformat/mms.o libavformat/mkvtimestamp_v2.c: In function 'write_header': libavformat/mkvtimestamp_v2.c:28:5: warning: 'put_buffer' is deprecated [-Wdeprecated-declarations] put_buffer(s->pb, header, strlen(header)); ^~~~~~~~~~ In file included from libavformat/avformat.h:144, from libavformat/mkvtimestamp_v2.c:22: libavformat/avio.h:299:35: note: declared here attribute_deprecated void put_buffer(AVIOContext *s, const unsigned char *buf, int size); ^~~~~~~~~~ libavformat/mkvtimestamp_v2.c: In function 'write_packet': libavformat/mkvtimestamp_v2.c:39:5: warning: 'put_buffer' is deprecated [-Wdeprecated-declarations] put_buffer(s->pb, buf, strlen(buf)); ^~~~~~~~~~ In file included from libavformat/avformat.h:144, from libavformat/mkvtimestamp_v2.c:22: libavformat/avio.h:299:35: note: declared here attribute_deprecated void put_buffer(AVIOContext *s, const unsigned char *buf, int size); ^~~~~~~~~~ libavformat/mkvtimestamp_v2.c:40:5: warning: 'put_flush_packet' is deprecated [-Wdeprecated-declarations] put_flush_packet(s->pb); ^~~~~~~~~~~~~~~~ In file included from libavformat/avformat.h:144, from libavformat/mkvtimestamp_v2.c:22: libavformat/avio.h:333:27: note: declared here attribute_deprecated void put_flush_packet(AVIOContext *s); ^~~~~~~~~~~~~~~~ CC libavformat/mmsh.o CC libavformat/mmst.o CC libavformat/mov.o CC libavformat/mov_chan.o CC libavformat/movenc.o CC libavformat/movenchint.o CC libavformat/mp3dec.o libavformat/mov.c: In function 'mov_read_chan': libavformat/mov.c:616:25: warning: variable 'cflags' set but not used [-Wunused-but-set-variable] uint32_t label, cflags; ^~~~~~ CC libavformat/mp3enc.o CC libavformat/mpc.o At top level: libavformat/mov.c:2500:12: warning: 'mov_read_chan2' defined but not used [-Wunused-function] static int mov_read_chan2(MOVContext *c, AVIOContext *pb, MOVAtom atom) ^~~~~~~~~~~~~~ libavformat/movenc.c: In function 'mov_write_header': libavformat/movenc.c:2892:5: warning: 'timestamp' is deprecated [-Wdeprecated-declarations] if (s->timestamp) ^~ In file included from libavformat/movenc.h:27, from libavformat/movenc.c:24: libavformat/avformat.h:954:34: note: declared here attribute_deprecated int64_t timestamp; ^~~~~~~~~ libavformat/movenc.c:2893:9: warning: 'timestamp' is deprecated [-Wdeprecated-declarations] mov->time = s->timestamp; ^~~ In file included from libavformat/movenc.h:27, from libavformat/movenc.c:24: libavformat/avformat.h:954:34: note: declared here attribute_deprecated int64_t timestamp; ^~~~~~~~~ CC libavformat/mpc8.o libavformat/mp3enc.c: In function 'mp3_write_header': libavformat/mp3enc.c:200:53: warning: 'best_bitrate_idx' may be used uninitialized in this function [-Wmaybe-uninitialized] for (bitrate_idx= best_bitrate_idx;; bitrate_idx++) { ~~~~~~~~~~~^~ libavformat/mp3enc.c:160:22: note: 'best_bitrate_idx' was declared here int best_bitrate_idx; ^~~~~~~~~~~~~~~~ CC libavformat/mpeg.o CC libavformat/mpegenc.o CC libavformat/mpegts.o libavformat/mpegenc.c: In function 'mpeg_mux_init': libavformat/mpegenc.c:425:5: warning: 'mux_rate' is deprecated [-Wdeprecated-declarations] if(ctx->mux_rate){ ^~ In file included from libavformat/mpegenc.c:27: libavformat/avformat.h:1009:30: note: declared here attribute_deprecated int mux_rate; ^~~~~~~~ libavformat/mpegenc.c:426:9: warning: 'mux_rate' is deprecated [-Wdeprecated-declarations] s->mux_rate= (ctx->mux_rate + (8 * 50) - 1) / (8 * 50); ^ In file included from libavformat/mpegenc.c:27: libavformat/avformat.h:1009:30: note: declared here attribute_deprecated int mux_rate; ^~~~~~~~ libavformat/mpegenc.c: In function 'mpeg_mux_write_packet': libavformat/mpegenc.c:1167:5: warning: 'preload' is deprecated [-Wdeprecated-declarations] if (ctx->preload) ^~ In file included from libavformat/mpegenc.c:27: libavformat/avformat.h:1013:30: note: declared here attribute_deprecated int preload; ^~~~~~~ libavformat/mpegenc.c:1168:9: warning: 'preload' is deprecated [-Wdeprecated-declarations] s->preload = ctx->preload; ^ In file included from libavformat/mpegenc.c:27: libavformat/avformat.h:1013:30: note: declared here attribute_deprecated int preload; ^~~~~~~ libavformat/mpegts.c: In function 'init_MP4DescrParseContext': libavformat/mpegts.c:1011:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if ((ret = ffio_init_context(&d->pb, (unsigned char*)buf, size, 0, ^ At top level: libavformat/mpegts.c:2108:16: warning: 'mpegts_get_pcr' defined but not used [-Wunused-function] static int64_t mpegts_get_pcr(AVFormatContext *s, int stream_index, ^~~~~~~~~~~~~~ CC libavformat/mpegtsenc.o CC libavformat/mpegvideodec.o libavformat/mpegtsenc.c: In function 'mpegts_write_pmt': libavformat/mpegtsenc.c:333:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ libavformat/mpegtsenc.c:336:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' *len_ptr += 4; ^ libavformat/mpegtsenc.c: In function 'mpegts_write_header': libavformat/mpegtsenc.c:588:5: warning: 'mux_rate' is deprecated [-Wdeprecated-declarations] if (s->mux_rate) ^~ In file included from libavformat/mpegtsenc.c:29: libavformat/avformat.h:1009:30: note: declared here attribute_deprecated int mux_rate; ^~~~~~~~ libavformat/mpegtsenc.c:589:9: warning: 'mux_rate' is deprecated [-Wdeprecated-declarations] ts->mux_rate = s->mux_rate; ^~ In file included from libavformat/mpegtsenc.c:29: libavformat/avformat.h:1009:30: note: declared here attribute_deprecated int mux_rate; ^~~~~~~~ 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/mxg.o CC libavformat/ncdec.o CC libavformat/network.o CC libavformat/nsvdec.o libavformat/mxfenc.c: In function 'mxf_write_header': libavformat/mxfenc.c:1515:5: warning: 'timestamp' is deprecated [-Wdeprecated-declarations] if (s->timestamp) ^~ In file included from libavformat/audiointerleave.h:27, from libavformat/mxfenc.c:42: libavformat/avformat.h:954:34: note: declared here attribute_deprecated int64_t timestamp; ^~~~~~~~~ libavformat/mxfenc.c:1516:9: warning: 'timestamp' is deprecated [-Wdeprecated-declarations] timestamp = s->timestamp; ^~~~~~~~~ In file included from libavformat/audiointerleave.h:27, from libavformat/mxfenc.c:42: libavformat/avformat.h:954:34: note: declared here attribute_deprecated int64_t timestamp; ^~~~~~~~~ libavformat/mxfdec.c: In function 'mxf_read_packet': libavformat/mxfdec.c:1929:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((ret64 = avio_seek(s->pb, pos, SEEK_SET)) < 0) ^~ libavformat/mxfdec.c:1932:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((ret = av_get_packet(s->pb, pkt, size)) != size) ^~ libavformat/mxfdec.c: In function 'mxf_read_seek': libavformat/mxfdec.c:2050:99: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] if ((ret = mxf_edit_unit_absolute_offset(mxf, t, sample_time, &sample_time, &seekpos, 1)) << 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ CC libavformat/nullenc.o CC libavformat/nut.o CC libavformat/nutdec.o CC libavformat/nutenc.o libavformat/nutdec.c: In function 'decode_main_header': libavformat/nutdec.c:278:38: warning: passing argument 2 of 'avio_read' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] avio_read(bc, nut->header[i], nut->header_len[i]); ~~~~~~~~~~~^~~ In file included from libavformat/avio_internal.h:23, from libavformat/nutdec.c:28: libavformat/avio.h:519:46: note: expected 'unsigned char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} int avio_read(AVIOContext *s, unsigned char *buf, int size); ~~~~~~~~~~~~~~~^~~ CC libavformat/nuv.o CC libavformat/oggdec.o libavformat/oggdec.c:700:23: warning: initialization of 'int (*)(struct AVFormatContext *, AVFormatParameters *)' {aka 'int (*)(struct AVFormatContext *, struct AVFormatParameters *)'} from incompatible pointer type 'int (*)(AVFormatContext *)' {aka 'int (*)(struct AVFormatContext *)'} [-Wincompatible-pointer-types] .read_header = ogg_read_header, ^~~~~~~~~~~~~~~ libavformat/oggdec.c:700:23: note: (near initialization for 'ff_ogg_demuxer.read_header') CC libavformat/oggenc.o CC libavformat/oggparsecelt.o CC libavformat/oggparsedirac.o CC libavformat/oggparseflac.o CC libavformat/oggparseogm.o CC libavformat/oggparseskeleton.o CC libavformat/oggparsespeex.o CC libavformat/oggparsetheora.o CC libavformat/oggparsevorbis.o CC libavformat/oma.o CC libavformat/omadec.o CC libavformat/omaenc.o CC libavformat/options.o CC libavformat/os_support.o In file included from /usr/include/time.h:25, from libavformat/avformat.h:138, from libavformat/os_support.c:27: /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/pcm.o libavformat/options.c:92:1: warning: 'mux_rate' is deprecated [-Wdeprecated-declarations] {"muxrate", "set mux rate", OFFSET(mux_rate), AV_OPT_TYPE_INT, {.dbl = DEFAULT }, 0, INT_MAX, E}, ^ In file included from libavformat/options.c:20: libavformat/avformat.h:1009:30: note: declared here attribute_deprecated int mux_rate; ^~~~~~~~ CC libavformat/pcmdec.o CC libavformat/pcmenc.o CC libavformat/pmpdec.o CC libavformat/psxstr.o CC libavformat/pva.o CC libavformat/qcp.o CC libavformat/r3d.o CC libavformat/rawdec.o CC libavformat/rawenc.o CC libavformat/rawvideodec.o CC libavformat/rdt.o CC libavformat/riff.o libavformat/rawdec.c: In function 'ff_raw_read_header': libavformat/rawdec.c:38:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!st) ^~ libavformat/rawdec.c:41: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 CC libavformat/rmdec.o CC libavformat/rmenc.o libavformat/rdt.c: In function 'rdt_parse_packet': libavformat/rdt.c:304:32: warning: passing argument 2 of 'ffio_init_context' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ffio_init_context(&pb, buf, len, 0, NULL, NULL, NULL, NULL); ^~~ In file included from libavformat/rdt.c:36: libavformat/avio_internal.h:31:34: note: expected 'unsigned char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} unsigned char *buffer, ~~~~~~~~~~~~~~~^~~~~~ CC libavformat/rpl.o libavformat/rmdec.c: In function 'rm_read_index': libavformat/rmdec.c:387:20: warning: format '%d' expects argument of type 'int', but argument 7 has type 'int64_t' {aka 'long long int'} [-Wformat=] "Nr. of packets in packet index for stream index %d " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavformat/rmdec.c:390:20: (avio_size(pb) - avio_tell(pb)) / 14); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavformat/rmdec.c:388:65: note: format string is defined here "exceeds filesize (%"PRId64" at %"PRId64" = %d)\n", ~^ %lld CC libavformat/rso.o CC libavformat/rsodec.o CC libavformat/rsoenc.o CC libavformat/rtmppkt.o CC libavformat/rtmpproto.o CC libavformat/rtp.o CC libavformat/rtpdec.o CC libavformat/rtpdec_amr.o libavformat/rmdec.c: In function 'ff_rm_parse_packet': libavformat/rmdec.c:663:34: warning: 'len2' may be used uninitialized in this function [-Wmaybe-uninitialized] vst->videobufsize = len2 + 8*vst->slices + 1; ~~~~~^~~~~~~~~~~~~~~ libavformat/rmdec.c:625:28: note: 'len2' was declared here int hdr, seq, pic_num, len2, pos; ^~~~ libavformat/rmdec.c:669:25: warning: 'pic_num' may be used uninitialized in this function [-Wmaybe-uninitialized] vst->curpic_num = pic_num; ~~~~~~~~~~~~~~~~^~~~~~~~~ libavformat/rmdec.c:625:19: note: 'pic_num' was declared here int hdr, seq, pic_num, len2, pos; ^~~~~~~ libavformat/rmdec.c:661:13: warning: 'seq' may be used uninitialized in this function [-Wmaybe-uninitialized] if((seq & 0x7F) == 1 || vst->curpic_num != pic_num){ ~~~~~^~~~~~~ libavformat/rmdec.c:625:14: note: 'seq' was declared here int hdr, seq, pic_num, len2, pos; ^~~ libavformat/rmdec.c: In function 'rm_read_packet': libavformat/rmdec.c:900:17: warning: 'st' may be used uninitialized in this function [-Wmaybe-uninitialized] av_add_index_entry(st, pos, timestamp, 0, 0, AVINDEX_KEYFRAME); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavformat/rtmpproto.c: In function 'get_packet': libavformat/rtmpproto.c:755:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] p=next; ^ CC libavformat/rtpdec_asf.o CC libavformat/rtpdec_g726.o CC libavformat/rtpdec_h263.o CC libavformat/rtpdec_h264.o CC libavformat/rtpdec_latm.o libavformat/rtpdec_asf.c: In function 'asfrtp_parse_packet': libavformat/rtpdec_asf.c:183:31: warning: passing argument 2 of 'ffio_init_context' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ffio_init_context(pb, buf, len, 0, NULL, NULL, NULL, NULL); ^~~ In file included from libavformat/rtpdec_asf.c:35: libavformat/avio_internal.h:31:34: note: expected 'unsigned char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} unsigned char *buffer, ~~~~~~~~~~~~~~~^~~~~~ CC libavformat/rtpdec_mpeg4.o CC libavformat/rtpdec_qcelp.o CC libavformat/rtpdec_qdm2.o CC libavformat/rtpdec_qt.o CC libavformat/rtpdec_svq3.o CC libavformat/rtpdec_vp8.o libavformat/rtpdec_qt.c: In function 'qt_rtp_parse_packet': libavformat/rtpdec_qt.c:74:28: warning: passing argument 2 of 'ffio_init_context' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ffio_init_context(&pb, buf, len, 0, NULL, NULL, NULL, NULL); ^~~ In file included from libavformat/rtpdec_qt.c:30: libavformat/avio_internal.h:31:34: note: expected 'unsigned char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} unsigned char *buffer, ~~~~~~~~~~~~~~~^~~~~~ CC libavformat/rtpdec_xiph.o CC libavformat/rtpenc.o CC libavformat/rtpenc_aac.o CC libavformat/rtpenc_amr.o CC libavformat/rtpenc_chain.o CC libavformat/rtpenc_h263.o CC libavformat/rtpenc_h264.o CC libavformat/rtpenc_latm.o CC libavformat/rtpenc_mpv.o CC libavformat/rtpenc_vp8.o CC libavformat/rtpenc_xiph.o CC libavformat/rtpproto.o CC libavformat/rtsp.o CC libavformat/rtspdec.o CC libavformat/rtspenc.o CC libavformat/sapdec.o CC libavformat/sapenc.o libavformat/rtsp.c: In function 'rtsp_parse_range': libavformat/rtsp.c:639:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] v = strtol(p, (char **)&p, 10); ^ libavformat/rtsp.c:643: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:728:41: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] th->ttl = strtol(p, (char **)&p, 10); ^ CC libavformat/sauce.o libavformat/rtspdec.c: In function 'rtsp_read_packet': libavformat/rtspdec.c:262: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 libavformat/avformat.h:139, from libavformat/rtspdec.c:25: /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/sbgdec.o CC libavformat/sdp.o CC libavformat/seek.o CC libavformat/segafilm.o CC libavformat/segment.o libavformat/rtsp.c: In function 'rtp_read_header': libavformat/rtsp.c:2000:32: warning: '%s' directive output may be truncated writing up to 499 bytes into a region of size 486 [-Wformat-truncation=] "v=0\r\nc=IN IP%d %s\r\nm=%s %d RTP/AVP %d\r\n", ^~ addr.ss_family == AF_INET ? 4 : 6, host, ~~~~ libavformat/rtsp.c:2000:14: note: directive argument in the range [0, 127] "v=0\r\nc=IN IP%d %s\r\nm=%s %d RTP/AVP %d\r\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ./libavutil/common.h:34, from ./libavutil/avutil.h:328, from ./libavutil/opt.h:31, from libavformat/rtsp.c:29: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 38 and 555 bytes into a destination of size 500 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavformat/sbgdec.c:1477:5: warning: "FF_API_READ_SEEK" is not defined, evaluates to 0 [-Wundef] #if FF_API_READ_SEEK ^~~~~~~~~~~~~~~~ libavformat/sbgdec.c:1512:5: warning: "FF_API_READ_SEEK" is not defined, evaluates to 0 [-Wundef] #if FF_API_READ_SEEK ^~~~~~~~~~~~~~~~ libavformat/rtsp.c: In function 'ff_rtsp_make_setup_request': libavformat/rtsp.c:1222: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/avutil.h:328, from ./libavutil/opt.h:31, from libavformat/rtsp.c:29: /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/sierravmd.o CC libavformat/siff.o CC libavformat/smacker.o CC libavformat/smjpeg.o CC libavformat/smjpegdec.o CC libavformat/smjpegenc.o CC libavformat/sol.o CC libavformat/soxdec.o CC libavformat/soxenc.o CC libavformat/spdif.o CC libavformat/spdifdec.o CC libavformat/spdifenc.o CC libavformat/srtdec.o CC libavformat/swfdec.o CC libavformat/swfenc.o CC libavformat/tcp.o CC libavformat/thp.o CC libavformat/tiertexseq.o CC libavformat/tmv.o CC libavformat/tta.o CC libavformat/tty.o 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:138, from libavformat/udp.c:29: /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 CC libavformat/vocdec.o CC libavformat/vocenc.o CC libavformat/vorbiscomment.o CC libavformat/vqf.o CC libavformat/wav.o CC libavformat/wc3movie.o CC libavformat/westwood_aud.o CC libavformat/westwood_vqa.o CC libavformat/wtv.o CC libavformat/wtvdec.o CC libavformat/wtvenc.o CC libavformat/wv.o CC libavformat/xa.o CC libavformat/xmv.o CC libavformat/xwma.o CC libavformat/yop.o CC libavformat/yuv4mpeg.o CC libswresample/audioconvert.o CC libswresample/rematrix.o CC libswresample/resample.o CC libswresample/swresample.o CC libswscale/options.o CC libswscale/rgb2rgb.o CC libswscale/swscale.o CC libswscale/swscale_unscaled.o CC libswscale/utils.o In file included from /usr/include/inttypes.h:25, from libswscale/utils.c:23: /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" ^~~~~~~ libswscale/rgb2rgb.c: In function 'rgb12tobgr12': libswscale/rgb2rgb.c:307:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] uint16_t *s = (uint16_t*)src; ^ libswscale/swscale.c: In function 'swScale': libswscale/swscale.c:2742:31: warning: assignment to 'int16_t *' {aka 'short int *'} from incompatible pointer type 'int32_t *' {aka 'int *'} [-Wincompatible-pointer-types] vLumFilter= c->lumMmxFilter; ^ libswscale/swscale.c:2743:31: warning: assignment to 'int16_t *' {aka 'short int *'} from incompatible pointer type 'int32_t *' {aka 'int *'} [-Wincompatible-pointer-types] vChrFilter= c->chrMmxFilter; ^ libswscale/swscale.c:2769:35: warning: assignment to 'int16_t *' {aka 'short int *'} from incompatible pointer type 'int32_t *' {aka 'int *'} [-Wincompatible-pointer-types] vLumFilter= c->alpMmxFilter; ^ libswscale/swscale.c: In function 'sws_init_swScale_c': libswscale/swscale.c:2844:46: warning: assignment to 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} from incompatible pointer type 'void (*)(uint16_t *, int16_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(short unsigned int *, short int *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_RGB4_BYTE: c->chrToYV12 = palToUV_c; break; ^ libswscale/swscale.c:2851:50: warning: assignment to 'void (*)(uint8_t *, uint8_t *, const uint8_t **, int)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char **, int)'} from incompatible pointer type 'void (*)(uint16_t *, uint16_t *, const uint8_t **, int)' {aka 'void (*)(short unsigned int *, short unsigned int *, const unsigned char **, int)'} [-Wincompatible-pointer-types] case PIX_FMT_GBRP: c->readChrPlanar = planar_rgb_to_uv; break; ^ libswscale/swscale.c:2882:45: warning: assignment to 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} from incompatible pointer type 'void (*)(int16_t *, int16_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(short int *, short int *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_BGR24 : c->chrToYV12 = bgr24ToUV_half_c; break; ^ libswscale/swscale.c:2891:45: warning: assignment to 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} from incompatible pointer type 'void (*)(int16_t *, int16_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(short int *, short int *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_RGB24 : c->chrToYV12 = rgb24ToUV_half_c; break; ^ libswscale/swscale.c:2896:45: warning: assignment to 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} from incompatible pointer type 'void (*)(uint16_t *, uint16_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, enum PixelFormat)' {aka 'void (*)(short unsigned int *, short unsigned int *, const unsigned char *, const unsigned char *, const unsigned char *, int, enum PixelFormat)'} [-Wincompatible-pointer-types] case PIX_FMT_GBR24P : c->chrToYV12 = gbr24pToUV_half_c; break; ^ libswscale/swscale.c:2908:45: warning: assignment to 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} from incompatible pointer type 'void (*)(int16_t *, int16_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(short int *, short int *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_BGR24 : c->chrToYV12 = bgr24ToUV_c; break; ^ libswscale/swscale.c:2917:45: warning: assignment to 'void (*)(uint8_t *, uint8_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} from incompatible pointer type 'void (*)(int16_t *, int16_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(short int *, short int *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_RGB24 : c->chrToYV12 = rgb24ToUV_c; break; ^ libswscale/swscale.c:2936:45: warning: assignment to 'void (*)(uint8_t *, const uint8_t **, int)' {aka 'void (*)(unsigned char *, const unsigned char **, int)'} from incompatible pointer type 'void (*)(uint16_t *, const uint8_t **, int)' {aka 'void (*)(short unsigned int *, const unsigned char **, int)'} [-Wincompatible-pointer-types] case PIX_FMT_GBRP: c->readLumPlanar = planar_rgb_to_y; break; ^ libswscale/swscale.c:2963:42: warning: assignment to 'void (*)(uint8_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} from incompatible pointer type 'void (*)(int16_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(short int *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_BGR24 : c->lumToYV12 = bgr24ToY_c; break; ^ libswscale/swscale.c:2970:42: warning: assignment to 'void (*)(uint8_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} from incompatible pointer type 'void (*)(int16_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(short int *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_RGB24 : c->lumToYV12 = rgb24ToY_c; break; ^ libswscale/swscale.c:2981:42: warning: assignment to 'void (*)(uint8_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} from incompatible pointer type 'void (*)(int16_t *, const uint8_t *, const uint8_t *, const uint8_t *, long int, uint32_t *)' {aka 'void (*)(short int *, const unsigned char *, const unsigned char *, const unsigned char *, long int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_RGB4_BYTE: c->lumToYV12 = palToY_c; break; ^ libswscale/swscale.c:2982:42: warning: assignment to 'void (*)(uint8_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} from incompatible pointer type 'void (*)(int16_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(short int *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_MONOBLACK: c->lumToYV12 = monoblack2Y_c; break; ^ libswscale/swscale.c:2983:42: warning: assignment to 'void (*)(uint8_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} from incompatible pointer type 'void (*)(int16_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(short int *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_MONOWHITE: c->lumToYV12 = monowhite2Y_c; break; ^ libswscale/swscale.c:2996:42: warning: assignment to 'void (*)(uint8_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} from incompatible pointer type 'void (*)(int16_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(short int *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_RGBA: c->alpToYV12 = rgbaToA_c; break; ^ libswscale/swscale.c:2998:42: warning: assignment to 'void (*)(uint8_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} from incompatible pointer type 'void (*)(int16_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(short int *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_ARGB: c->alpToYV12 = abgrToA_c; break; ^ libswscale/swscale.c:3000:42: warning: assignment to 'void (*)(uint8_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} from incompatible pointer type 'void (*)(int16_t *, const uint8_t *, const uint8_t *, const uint8_t *, int, uint32_t *)' {aka 'void (*)(short int *, const unsigned char *, const unsigned char *, const unsigned char *, int, unsigned int *)'} [-Wincompatible-pointer-types] case PIX_FMT_PAL8 : c->alpToYV12 = palToA_c; break; ^ At top level: libswscale/swscale.c:240:22: warning: 'flat64' defined but not used [-Wunused-const-variable=] static const uint8_t flat64[8]={64,64,64,64,64,64,64,64}; ^~~~~~ CC libswscale/yuv2rgb.o CC libpostproc/postprocess.o CC ffmpeg.o CC cmdutils.o ffmpeg.c: In function 'opt_input_file': ffmpeg.c:3701:9: warning: 'loop_input' is deprecated [-Wdeprecated-declarations] ic->loop_input = loop_input; ^~ In file included from ffmpeg.c:35: libavformat/avformat.h:1049:30: note: declared here attribute_deprecated int loop_input; ^~~~~~~~~~ ffmpeg.c: In function 'opt_output_file': ffmpeg.c:4486:9: warning: 'loop_output' is deprecated [-Wdeprecated-declarations] oc->loop_output = loop_output; ^~ In file included from ffmpeg.c:35: libavformat/avformat.h:1025:30: note: declared here attribute_deprecated int loop_output; ^~~~~~~~~~~ CC libavcodec/utils.o LD libavutil/libavutil.so.51 LD libswresample/libswresample.so.0 libavcodec/utils.c: In function 'avcodec_register': libavcodec/utils.c:137:5: warning: 'avcodec_init' is deprecated [-Wdeprecated-declarations] avcodec_init(); ^~~~~~~~~~~~ libavcodec/utils.c:113:6: note: declared here void avcodec_init(void) ^~~~~~~~~~~~ libavcodec/utils.c: In function 'avcodec_fill_audio_frame': libavcodec/utils.c:314:39: warning: passing argument 3 of 'av_samples_fill_arrays' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buf, nb_channels, frame->nb_samples, ^~~ In file included from libavcodec/utils.c:35: ./libavutil/samplefmt.h:137:74: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} int av_samples_fill_arrays(uint8_t **audio_data, int *linesize, uint8_t *buf, ~~~~~~~~~^~~ libavcodec/utils.c: In function 'avcodec_open2': libavcodec/utils.c:754:41: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] *(AVClass**)avctx->priv_data= codec->priv_class; ^ libavcodec/utils.c:815:12: warning: 'error_recognition' is deprecated [-Wdeprecated-declarations] avctx->error_recognition, avctx->err_recognition); ^~~~~ In file included from libavcodec/utils.c:38: libavcodec/avcodec.h:1717:30: note: declared here attribute_deprecated int error_recognition; ^~~~~~~~~~~~~~~~~ libavcodec/utils.c:816:5: warning: 'error_recognition' is deprecated [-Wdeprecated-declarations] switch(avctx->error_recognition){ ^~~~~~ In file included from libavcodec/utils.c:38: libavcodec/avcodec.h:1717:30: note: declared here attribute_deprecated int error_recognition; ^~~~~~~~~~~~~~~~~ libavcodec/utils.c:826:12: warning: 'error_recognition' is deprecated [-Wdeprecated-declarations] avctx->error_recognition, avctx->err_recognition); ^~~~~ In file included from libavcodec/utils.c:38: libavcodec/avcodec.h:1717:30: note: declared here attribute_deprecated int error_recognition; ^~~~~~~~~~~~~~~~~ libavcodec/utils.c: In function 'avcodec_encode_audio': libavcodec/utils.c:1119:45: warning: passing argument 4 of 'avcodec_fill_audio_frame' from incompatible pointer type [-Wincompatible-pointer-types] samples, samples_size, 1))) ^~~~~~~ libavcodec/utils.c:293:77: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const short int *' enum AVSampleFormat sample_fmt, const uint8_t *buf, ~~~~~~~~~~~~~~~^~~ libavcodec/utils.c: In function 'avcodec_encode_video': libavcodec/utils.c:1162: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:1162: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:1180: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:1180:54: note: expected 'void *' but argument is of type 'const AVSubtitle *' {aka 'const struct AVSubtitle *'} LD libswscale/libswscale.so.2 LD libavcodec/libavcodec.so.53 LD libpostproc/libpostproc.so.52 LD libavformat/libavformat.so.53 LD libavfilter/libavfilter.so.2 LD libavdevice/libavdevice.so.53 LD ffmpeg_g CP ffmpeg STRIP ffmpeg INSTALL libavfilter/libavfilter.so INSTALL libavdevice/libavdevice.so INSTALL libavformat/libavformat.so INSTALL libswresample/libswresample.so INSTALL libpostproc/libpostproc.so INSTALL libavcodec/libavcodec.so STRIP install-libswresample-shared STRIP install-libavfilter-shared STRIP install-libavformat-shared STRIP install-libavdevice-shared STRIP install-libpostproc-shared STRIP install-libavcodec-shared INSTALL libswscale/libswscale.so INSTALL presets/libx264-ipod640.ffpreset INSTALL presets/libvpx-720p.ffpreset INSTALL presets/libx264-ipod320.ffpreset INSTALL presets/libvpx-720p50_60.ffpreset INSTALL presets/libvpx-1080p.ffpreset INSTALL presets/libvpx-360p.ffpreset INSTALL presets/libvpx-1080p50_60.ffpreset INSTALL doc/ffprobe.xsd INSTALL libavutil/libavutil.so INSTALL libavdevice/avdevice.h INSTALL libavdevice/libavdevice.pc STRIP install-libswscale-shared STRIP install-libavutil-shared INSTALL libavfilter/avcodec.h INSTALL libavfilter/avfilter.h INSTALL libavfilter/avfiltergraph.h INSTALL libavfilter/buffersink.h INSTALL libavfilter/version.h INSTALL libavfilter/vsrc_buffer.h INSTALL libavformat/avformat.h INSTALL libavformat/avio.h INSTALL libavformat/version.h INSTALL libavfilter/libavfilter.pc 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/vda.h INSTALL libavcodec/vdpau.h INSTALL libavcodec/version.h INSTALL libavcodec/xvmc.h INSTALL libpostproc/postprocess.h INSTALL libavcodec/libavcodec.pc INSTALL libpostproc/libpostproc.pc INSTALL libswresample/swresample.h INSTALL libswresample/libswresample.pc INSTALL libswscale/swscale.h INSTALL libavutil/adler32.h INSTALL libavutil/aes.h INSTALL libavutil/attributes.h INSTALL libavutil/audioconvert.h INSTALL libavutil/avassert.h INSTALL libavutil/avstring.h INSTALL libavutil/avutil.h INSTALL libavutil/base64.h INSTALL libavutil/bswap.h INSTALL libavutil/common.h INSTALL libavutil/cpu.h INSTALL libavutil/crc.h INSTALL libavutil/error.h INSTALL libavutil/eval.h INSTALL libavutil/fifo.h INSTALL libavutil/file.h INSTALL libavutil/imgutils.h INSTALL libavutil/intfloat.h INSTALL libavutil/intfloat_readwrite.h INSTALL libavutil/intreadwrite.h INSTALL libavutil/lfg.h INSTALL libavutil/log.h INSTALL libavutil/lzo.h INSTALL libavutil/mathematics.h INSTALL libavutil/md5.h INSTALL libavutil/mem.h INSTALL libavutil/dict.h INSTALL libavutil/opt.h INSTALL libavutil/parseutils.h INSTALL libavutil/pixdesc.h INSTALL libavutil/pixfmt.h INSTALL libavutil/random_seed.h INSTALL libavutil/rational.h INSTALL libavutil/samplefmt.h INSTALL libavutil/sha.h INSTALL libavutil/avconfig.h INSTALL libswscale/libswscale.pc INSTALL libavutil/libavutil.pc INSTALL install-progs-yes INSTALL ffmpeg ================================================================================ Executing strip on all files... Done Time: 4.75s. Size: 5709828 B -> 5709828 B. Save: 0 KB. ================================================================================ Build dependencies to remove: 18 Removing: bzip2-dev coreutils-file-format coreutils-file-special libx11 libx11-dev libxau libxau-dev libxcb libxcb-dev libxdmcp libxdmcp-dev sdl sdl-dev tslib tslib-dev xorgproto yasm zlib-dev Pack: ffmpeg-compat 0.10.12 ================================================================================ Executing: genpkg_rules 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 "ffmpeg-compat-0.10.12-i486.tazpkg" created Pack: ffmpeg-compat-dev 0.10.12 ================================================================================ Executing: genpkg_rules Copying "receipt"... Done Determining package architecture... any 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 "ffmpeg-compat-dev-0.10.12-any.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/ffmpeg-compat-0.10.12... Done Checking site script in source/ffmpeg-compat-0.10.12... 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: ffmpeg-compat 0.10.12 ================================================================================ Src file : ffmpeg-0.10.12.tar.bz2 Src size : 5.5M Source dir : 52.1M Produced : 6.2M Cook time : 129s ~ 02m 09s Cook date : 2020-07-07 06:21 Target arch : any, i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 5.4M : 2.1M : 32 : ffmpeg-compat-0.10.12-i486.tazpkg 2 : 724.0K : 112.6K : 58 : ffmpeg-compat-dev-0.10.12-any.tazpkg ================================================================================