=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for ffmpeg010-20150312.0.10.16nb8 CC libavdevice/alldevices.o CC libavdevice/avdevice.o CC libavdevice/bktr.o CC libavdevice/lavfi.o CC libavdevice/oss_audio.o CC libavdevice/v4l2.o AR libavdevice/libavdevice.a CC libavfilter/af_aconvert.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_aformat.o CC libavfilter/af_amerge.o CC libavfilter/af_anull.o 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 libavfilter/libmpcodecs/vf_eq.c:38:1: warning: useless storage class specifier in empty declaration }; ^ CC libavfilter/libmpcodecs/vf_eq2.o CC libavfilter/libmpcodecs/vf_field.o 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 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:0: ./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:0: ./libavcodec/avcodec.h:4155:5: note: declared here int avcodec_open(AVCodecContext *avctx, AVCodec *codec); ^~~~~~~~~~~~ CC libavfilter/libmpcodecs/vf_mirror.o CC libavfilter/libmpcodecs/vf_noise.o 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 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_pullup.o CC libavfilter/libmpcodecs/vf_qp.o 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 libavfilter/libmpcodecs/vf_screenshot.c: In function 'scale_image': libavfilter/libmpcodecs/vf_screenshot.c:137:26: 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:0: ./libswscale/swscale.h:237:5: 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:0: ./libswscale/swscale.h:237:5: 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:0: ./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:0: ./libavcodec/avcodec.h:4155:5: note: declared here int avcodec_open(AVCodecContext *avctx, AVCodec *codec); ^~~~~~~~~~~~ CC libavfilter/libmpcodecs/vf_smartblur.o CC libavfilter/libmpcodecs/vf_softpulldown.o CC libavfilter/libmpcodecs/vf_softskip.o CC libavfilter/libmpcodecs/vf_spp.o 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:0: ./libavcodec/avcodec.h:4025:17: note: declared here AVCodecContext *avcodec_alloc_context(void); ^~~~~~~~~~~~~~~~~~~~~ CC libavfilter/libmpcodecs/vf_stereo3d.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); ~^ ~~~~~~~~~~~~~~~~~~ CC libavfilter/libmpcodecs/vf_swapuv.o CC libavfilter/libmpcodecs/vf_telecine.o CC libavfilter/libmpcodecs/vf_tile.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_tinterlace.o CC libavfilter/libmpcodecs/vf_unsharp.o CC libavfilter/libmpcodecs/vf_uspp.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:0: ./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:0: ./libavcodec/avcodec.h:4155:5: note: declared here int avcodec_open(AVCodecContext *avctx, AVCodec *codec); ^~~~~~~~~~~~ CC libavfilter/libmpcodecs/vf_yuvcsp.o CC libavfilter/libmpcodecs/vf_yvu9.o CC libavfilter/sink_buffer.o CC libavfilter/src_movie.o 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 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_null.o CC libavfilter/vf_overlay.o CC libavfilter/vf_pad.o CC libavfilter/vf_pixdesctest.o CC libavfilter/vf_scale.o CC libavfilter/vf_select.o 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 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/8bps.o CC libavcodec/8svx.o CC libavcodec/a64multienc.o CC libavcodec/aac_ac3_parser.o CC libavcodec/aac_adtstoasc_bsf.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/aac_parser.o CC libavcodec/aacadtsdec.o CC libavcodec/aaccoder.o CC libavcodec/aacdec.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, ^ CC libavcodec/aacenc.o CC libavcodec/aacps.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:963:26: warning: 'h22i' may be used uninitialized in this function [-Wmaybe-uninitialized] h22i += h22i_step; ~~~~~^~~~~~~~~~~~ libavcodec/aacps.c:913:37: note: 'h22i' was declared here float h11i, h12i, h21i, h22i; ^~~~ libavcodec/aacps.c:962:26: warning: 'h21i' may be used uninitialized in this function [-Wmaybe-uninitialized] h21i += h21i_step; ~~~~~^~~~~~~~~~~~ libavcodec/aacps.c:913:31: note: 'h21i' was declared here float h11i, h12i, h21i, h22i; ^~~~ libavcodec/aacps.c:961:26: warning: 'h12i' may be used uninitialized in this function [-Wmaybe-uninitialized] h12i += h12i_step; ~~~~~^~~~~~~~~~~~ libavcodec/aacps.c:913:25: note: 'h12i' was declared here float h11i, h12i, h21i, h22i; ^~~~ libavcodec/aacps.c:960:26: warning: 'h11i' may be used uninitialized in this function [-Wmaybe-uninitialized] h11i += h11i_step; ~~~~~^~~~~~~~~~~~ libavcodec/aacps.c:913:19: note: 'h11i' was declared here float h11i, h12i, h21i, h22i; ^~~~ CC libavcodec/aacpsy.o 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/aacsbr.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/aactab.o CC libavcodec/aandcttab.o CC libavcodec/aasc.o CC libavcodec/ac3.o CC libavcodec/ac3_parser.o CC libavcodec/ac3dec.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:0, 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:0, from libavcodec/ac3dec.c:34: libavcodec/avcodec.h:2900:32: note: declared here attribute_deprecated float drc_scale; ^~~~~~~~~ CC libavcodec/ac3dec_data.o CC libavcodec/ac3dsp.o CC libavcodec/ac3enc.o libavcodec/ac3enc.c: In function 'ff_ac3_apply_rematrixing': libavcodec/ac3enc.c:276:14: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] uint8_t *flags; ^~~~~ 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 CC libavcodec/adpcm.o libavcodec/adpcm.c: In function 'adpcm_decode_frame': libavcodec/adpcm.c:1205:25: warning: iteration 16 invokes undefined behavior [-Waggressive-loop-optimizations] table[0][i] = (int16_t)bytestream_get_be16(&src); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/adpcm.c:1204:9: note: within this loop for (i = 0; i < 32; i++) ^~~ libavcodec/adpcm.c:1209:24: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] prev[0][i] = (int16_t)bytestream_get_be16(&src); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/adpcm.c:1208:9: note: within this loop for (i = 0; i < 4; i++) ^~~ CC libavcodec/adpcm_data.o CC libavcodec/adpcmenc.o CC libavcodec/adx.o CC libavcodec/adx_parser.o CC libavcodec/adxdec.o CC libavcodec/adxenc.o CC libavcodec/alac.o CC libavcodec/alacenc.o CC libavcodec/allcodecs.o CC libavcodec/alpha/dsputil_alpha.o libavcodec/alpha/dsputil_alpha.c:258:7: warning: 'put_no_rnd_pixels16_axp' defined but not used [-Wunused-function] PIXOP(put_no_rnd, STORE); ^ libavcodec/alpha/dsputil_alpha.c:224:13: note: in definition of macro 'MAKE_OP' static void OPNAME ## _pixels16 ## SUFF ## _axp \ ^~~~~~ libavcodec/alpha/dsputil_alpha.c:258:1: note: in expansion of macro 'PIXOP' PIXOP(put_no_rnd, STORE); ^~~~~ libavcodec/alpha/dsputil_alpha.c:243:7: warning: 'put_pixels16_axp' defined but not used [-Wunused-function] PIXOP(put, STORE); ^ libavcodec/alpha/dsputil_alpha.c:224:13: note: in definition of macro 'MAKE_OP' static void OPNAME ## _pixels16 ## SUFF ## _axp \ ^~~~~~ libavcodec/alpha/dsputil_alpha.c:243:1: note: in expansion of macro 'PIXOP' PIXOP(put, STORE); ^~~~~ AS libavcodec/alpha/dsputil_alpha_asm.o CC libavcodec/alpha/motion_est_alpha.o AS libavcodec/alpha/motion_est_mvi_asm.o CC libavcodec/alpha/mpegvideo_alpha.o CC libavcodec/alpha/simple_idct_alpha.o CC libavcodec/alsdec.o CC libavcodec/amrnbdec.o CC libavcodec/amrwbdec.o libavcodec/amrwbdec.c: In function 'amrwb_decode_frame': libavcodec/amrwbdec.c:908:12: warning: array subscript is below array bounds [-Warray-bounds] float *diff_hi = diff_isf - LP_ORDER + 1; // diff array for extrapolated indexes ^~~~~~~ libavcodec/amrwbdec.c:908:12: warning: array subscript is below array bounds [-Warray-bounds] CC libavcodec/anm.o CC libavcodec/ansi.o libavcodec/ansi.c: In function 'decode_frame': libavcodec/ansi.c:225:13: warning: 'height' may be used uninitialized in this function [-Wmaybe-uninitialized] avcodec_set_dimensions(avctx, width, height); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/ansi.c:163:24: note: 'height' was declared here int ret, i, width, height; ^~~~~~ libavcodec/ansi.c:225:13: warning: 'width' may be used uninitialized in this function [-Wmaybe-uninitialized] avcodec_set_dimensions(avctx, width, height); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/ansi.c:163:17: note: 'width' was declared here int ret, i, width, height; ^~~~~ CC libavcodec/apedec.o CC libavcodec/ass.o CC libavcodec/ass_split.o CC libavcodec/assdec.o CC libavcodec/assenc.o CC libavcodec/asv1.o CC libavcodec/atrac.o CC libavcodec/atrac1.o libavcodec/atrac1.c: In function 'atrac1_decode_frame': libavcodec/atrac1.c:323: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, ^ CC libavcodec/atrac3.o libavcodec/atrac3.c: In function 'atrac3_decode_frame': libavcodec/atrac3.c:884: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:888: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/audioconvert.o CC libavcodec/aura.o CC libavcodec/avfft.o CC libavcodec/avpacket.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/avs.o In file included from libavcodec/avs.c:23:0: libavcodec/avs.c: In function 'avs_decode_frame': libavcodec/get_bits.h:278:8: warning: 'change_map.size_in_bits_plus8' may be used uninitialized in this function [-Wmaybe-uninitialized] if (s->index < s->size_in_bits_plus8) ^ 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:0: 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/bethsoftvideo.o CC libavcodec/bfi.o CC libavcodec/bgmc.o CC libavcodec/bink.o CC libavcodec/binkaudio.o libavcodec/binkaudio.c: In function 'decode_block': libavcodec/binkaudio.c:270: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:272: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, ^ CC libavcodec/binkdsp.o CC libavcodec/bintext.o libavcodec/bintext.c:92:13: warning: 'hscroll' defined but not used [-Wunused-function] static void hscroll(AVCodecContext *avctx) ^~~~~~~ CC libavcodec/bitstream.o CC libavcodec/bitstream_filter.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/bmp.o libavcodec/bmp.c: In function 'bmp_decode_frame': libavcodec/bmp.c:153:67: warning: 'rgb[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (rgb[0] == 0x000000FF && rgb[1] == 0x0000FF00 && rgb[2] == 0x00FF0000) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ libavcodec/bmp.c:153:43: warning: 'rgb[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (rgb[0] == 0x000000FF && rgb[1] == 0x0000FF00 && rgb[2] == 0x00FF0000) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 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/bmpenc.o CC libavcodec/bmv.o CC libavcodec/c93.o CC libavcodec/cabac.o 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 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/cinepak.o CC libavcodec/cljr.o CC libavcodec/cook.o In file included from ./libavutil/intreadwrite.h:25:0, from libavcodec/get_bits.h:31, from libavcodec/cook.c:48: 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:284: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:285:9: note: in expansion of macro 'AV_BE2NE32C' AV_BE2NE32C(0x11f237c5), AV_BE2NE32C(0xc511f237), ^~~~~~~~~~~ CC libavcodec/cscd.o CC libavcodec/cyuv.o CC libavcodec/dca.o CC libavcodec/dca_parser.o CC libavcodec/dcadsp.o CC libavcodec/dcaenc.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/dct.o CC libavcodec/dct32_fixed.o CC libavcodec/dct32_float.o 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 CC libavcodec/dnxhddata.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/dnxhddec.o CC libavcodec/dnxhdenc.o CC libavcodec/dpcm.o 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 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.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; ^ CC libavcodec/dvbsub_parser.o CC libavcodec/dvbsubdec.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/dvdata.o CC libavcodec/dvdsub_parser.o 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 from incompatible pointer type [-Wincompatible-pointer-types] vertical_compose_3tap vertical_compose_l0 = d->vertical_compose_l0; ^ libavcodec/dwt.c:1081:49: warning: initialization from incompatible pointer type [-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 from incompatible pointer type [-Wincompatible-pointer-types] vertical_compose_3tap vertical_compose_l0 = d->vertical_compose_l0; ^ libavcodec/dwt.c:1105:49: warning: initialization from incompatible pointer type [-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 from incompatible pointer type [-Wincompatible-pointer-types] vertical_compose_5tap vertical_compose_l0 = d->vertical_compose_l0; ^ libavcodec/dwt.c:1128:49: warning: initialization from incompatible pointer type [-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 from incompatible pointer type [-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 from incompatible pointer type [-Wincompatible-pointer-types] vertical_compose_9tap vertical_compose_l0 = d->vertical_compose_l0; ^ libavcodec/dwt.c:1169:49: warning: initialization from incompatible pointer type [-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 from incompatible pointer type [-Wincompatible-pointer-types] vertical_compose_3tap vertical_compose_l0 = d->vertical_compose_l0; ^ libavcodec/dwt.c:1194:49: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] vertical_compose_3tap vertical_compose_h0 = d->vertical_compose_h0; ^ libavcodec/dwt.c:1195:49: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] vertical_compose_3tap vertical_compose_l1 = d->vertical_compose_l1; ^ libavcodec/dwt.c:1196:49: warning: initialization from incompatible pointer type [-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 from incompatible pointer type [-Wincompatible-pointer-types] d->vertical_compose_l0 = vertical_compose53iL0; ^ libavcodec/dwt.c:1304:32: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] d->vertical_compose_h0 = vertical_compose_dd97iH0; ^ libavcodec/dwt.c:1310:32: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] d->vertical_compose_l0 = vertical_compose53iL0; ^ libavcodec/dwt.c:1311:32: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] d->vertical_compose_h0 = vertical_compose_dirac53iH0; ^ libavcodec/dwt.c:1317:32: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] d->vertical_compose_l0 = vertical_compose_dd137iL0; ^ libavcodec/dwt.c:1318:32: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] d->vertical_compose_h0 = vertical_compose_dd97iH0; ^ libavcodec/dwt.c:1325:29: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] d->vertical_compose = vertical_compose_haar; ^ libavcodec/dwt.c:1334:32: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] d->vertical_compose_l0 = vertical_compose_fidelityiL0; ^ libavcodec/dwt.c:1335:32: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] d->vertical_compose_h0 = vertical_compose_fidelityiH0; ^ libavcodec/dwt.c:1340:32: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] d->vertical_compose_l0 = vertical_compose_daub97iL0; ^ libavcodec/dwt.c:1341:32: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] d->vertical_compose_h0 = vertical_compose_daub97iH0; ^ libavcodec/dwt.c:1342:32: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] d->vertical_compose_l1 = vertical_compose_daub97iL1; ^ libavcodec/dwt.c:1343:32: warning: assignment from incompatible pointer type [-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 libavcodec/eamad.c: In function 'decode_frame': libavcodec/eamad.c:98: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:205:15: note: 'mv_y' was declared here int mv_x, mv_y; ^~~~ libavcodec/eamad.c:98: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:205:9: note: 'mv_x' was declared here int mv_x, mv_y; ^~~~ CC libavcodec/eatgq.o CC libavcodec/eatgv.o CC libavcodec/eatqi.o CC libavcodec/elbg.o 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 libavcodec/ffv1.c: In function 'decode_frame': libavcodec/ffv1.c:1706: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/ffwavesynth.o CC libavcodec/flac.o CC libavcodec/flac_parser.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/flacdata.o CC libavcodec/flacdec.o CC libavcodec/flacenc.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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: libavcodec/avcodec.h:2850:30: note: declared here attribute_deprecated int lpc_coeff_precision; ^~~~~~~~~~~~~~~~~~~ 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 CC libavcodec/flvenc.o CC libavcodec/fmtconvert.o 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 libavcodec/g729dec.c: In function 'decode_frame': libavcodec/g729dec.c:423:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] out_frame= ctx->frame.data[0]; ^ CC libavcodec/g729postfilter.o 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 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.o libavcodec/h264.c: In function 'decode_slice_header': libavcodec/h264.c:3090: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.c: In function 'fill_filter_caches_inter': libavcodec/h264.c:3453:34: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] int (*ref2frm)[64] = h->ref2frm[ h->slice_table[top_xy]&(MAX_SLICES-1) ][0] + (MB_MBAFF ? 20 : 2); ^ libavcodec/h264.c:3468:38: warning: initialization from incompatible pointer type [-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:3501:30: warning: initialization from incompatible pointer type [-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:4286:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] uint8_t *p= buf+6; ^~~ At top level: libavcodec/h264.c:4492:22: warning: 'h264_vdpau_class' defined but not used [-Wunused-const-variable=] static const AVClass h264_vdpau_class = { ^~~~~~~~~~~~~~~~ CC libavcodec/h264_cabac.o 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); ^~~~~~~~~~~~~~ CC libavcodec/h264_cavlc.o CC libavcodec/h264_direct.o 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 In file included from /usr/include/string.h:127:0, from ./libavutil/common.h:36, from ./libavutil/avutil.h:328, from ./libavutil/samplefmt.h:22, from libavcodec/avcodec.h:30, from libavcodec/imc.c:38: libavcodec/imc.c: In function 'imc_decode_frame': libavcodec/imc.c:714:41: warning: argument to 'sizeof' in '__builtin___memset_chk' 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 libavcodec/imgconvert.c: In function 'av_picture_copy': libavcodec/imgconvert.c:534:45: 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:0: ./libavutil/imgutils.h:115:6: note: expected 'const uint8_t ** {aka const unsigned char **}' but argument is of type 'uint8_t * const* {aka unsigned char * const*}' void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4], ^~~~~~~~~~~~~ CC libavcodec/imx_dump_header_bsf.o CC libavcodec/indeo2.o 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/inverse.o CC libavcodec/ituh263dec.o CC libavcodec/ituh263enc.o CC libavcodec/ivi_common.o CC libavcodec/ivi_dsp.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++; ^~~ 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:108:22: warning: 'b0_1' may be used uninitialized in this function [-Wmaybe-uninitialized] tmp1 = tmp0 + b0_1; ~~~~~^~~~~~~~~~~~~ CC libavcodec/j2k.o CC libavcodec/j2k_dwt.o CC libavcodec/j2kdec.o libavcodec/j2kdec.c: In function 'decode_tile': libavcodec/j2kdec.c:885:21: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] dst = line + (x * s->ncomponents + compno) * 2; ^ libavcodec/j2kdec.c:678:13: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] for (y = y0 + runlen; y < y0 + 4 && y < height; y++){ ^~~ libavcodec/j2kdec.c:678:13: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] libavcodec/j2kdec.c:678:13: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] libavcodec/j2kdec.c:678:13: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] libavcodec/j2kdec.c:678:13: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] CC libavcodec/j2kenc.o 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++; ^~~~~~ 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/jfdctfst.o CC libavcodec/jfdctint.o CC libavcodec/jpegls.o CC libavcodec/jpeglsdec.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/jpeglsenc.o CC libavcodec/jrevdct.o CC libavcodec/jvdec.o 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 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/lclenc.o CC libavcodec/libmp3lame.o CC libavcodec/libtheoraenc.o CC libavcodec/libvorbis.o libavcodec/libvorbis.c:71:21: warning: 'error' defined but not used [-Wunused-function] static const char * error(int oggerr, int *averr) ^~~~~ CC libavcodec/libvpxdec.o CC libavcodec/libvpxenc.o libavcodec/libvpxenc.c: In function 'vp8_init': libavcodec/libvpxenc.c:241:5: warning: 'rc_lookahead' is deprecated [-Wdeprecated-declarations] if(avctx->rc_lookahead >= 0) ^~ In file included from libavcodec/libvpxenc.c:31:0: libavcodec/avcodec.h:3081:30: note: declared here attribute_deprecated int rc_lookahead; ^~~~~~~~~~~~ libavcodec/libvpxenc.c:242:9: warning: 'rc_lookahead' is deprecated [-Wdeprecated-declarations] enccfg.g_lag_in_frames= FFMIN(avctx->rc_lookahead, 25); //0-25, avoids init failure ^~~~~~ In file included from libavcodec/libvpxenc.c:31:0: libavcodec/avcodec.h:3081:30: note: declared here attribute_deprecated int rc_lookahead; ^~~~~~~~~~~~ libavcodec/libvpxenc.c:242:9: warning: 'rc_lookahead' is deprecated [-Wdeprecated-declarations] enccfg.g_lag_in_frames= FFMIN(avctx->rc_lookahead, 25); //0-25, avoids init failure ^~~~~~ In file included from libavcodec/libvpxenc.c:31:0: libavcodec/avcodec.h:3081:30: note: declared here attribute_deprecated int rc_lookahead; ^~~~~~~~~~~~ libavcodec/libvpxenc.c:260:5: warning: 'crf' is deprecated [-Wdeprecated-declarations] else if (avctx->crf || ctx->crf > 0) ^~~~ In file included from libavcodec/libvpxenc.c:31:0: libavcodec/avcodec.h:2698:32: note: declared here attribute_deprecated float crf; ^~~ libavcodec/libvpxenc.c:359:5: warning: 'crf' is deprecated [-Wdeprecated-declarations] codecctl_int(avctx, VP8E_SET_CQ_LEVEL, (int)avctx->crf); ^~~~~~~~~~~~ In file included from libavcodec/libvpxenc.c:31:0: libavcodec/avcodec.h:2698:32: note: declared here attribute_deprecated float crf; ^~~ CC libavcodec/libxvid_rc.o CC libavcodec/libxvidff.o CC libavcodec/ljpegenc.o 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 libavcodec/mjpegdec.c: In function 'ljpeg_decode_yuv_scan': libavcodec/mjpegdec.c:875:35: warning: assignment from incompatible pointer type [-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:931:35: warning: assignment from incompatible pointer type [-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:1631: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 CC libavcodec/mjpegenc.o CC libavcodec/mlp.o CC libavcodec/mlp_parser.o CC libavcodec/mlpdec.o CC libavcodec/mlpdsp.o CC libavcodec/mmvideo.o libavcodec/mmvideo.c: In function 'mm_decode_intra': libavcodec/mmvideo.c:95:9: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i, x, y; ^ CC libavcodec/motion_est.o In file included from libavcodec/motion_est.c:289:0: 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:0: 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:0: 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:0: libavcodec/motion_est_template.c:1090:31: warning: '*((void *)&P+24)[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: '*((void *)&P+24)[0]' was declared here int P[10][2]; ^ In file included from libavcodec/motion_est.c:289:0: 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:0: 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/motionpixels.o CC libavcodec/movsub_bsf.o 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 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/mpc.o CC libavcodec/mpc7.o CC libavcodec/mpc8.o CC libavcodec/mpeg12.o CC libavcodec/mpeg12data.o CC libavcodec/mpeg12enc.o CC libavcodec/mpeg4audio.o CC libavcodec/mpeg4video.o CC libavcodec/mpeg4video_parser.o CC libavcodec/mpeg4videodec.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:0, from libavcodec/mpeg4videodec.c:26: libavcodec/avcodec.h:1717:30: note: declared here attribute_deprecated int error_recognition; ^~~~~~~~~~~~~~~~~ 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: In function 'mpeg4_decode_partitioned_mb': libavcodec/mpeg4videodec.c:1079:9: warning: 'dc_pred_dir' may be used uninitialized in this function [-Wmaybe-uninitialized] mpeg4_pred_ac(s, block, n, dc_pred_dir); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/mpeg4videodec.c:850:9: note: 'dc_pred_dir' was declared here int dc_pred_dir; ^~~~~~~~~~~ CC libavcodec/mpeg4videoenc.o CC libavcodec/mpegaudio.o CC libavcodec/mpegaudio_parser.o CC libavcodec/mpegaudiodata.o CC libavcodec/mpegaudiodec.o libavcodec/mpegaudiodec.c: In function 'mp_decode_layer3': libavcodec/mpegaudiodec.c:1383:13: warning: unused variable 'skip' [-Wunused-variable] int skip; ^~~~ libavcodec/mpegaudiodec.c: In function 'decode_frame_adu': libavcodec/mpegaudiodec.c:1737:5: warning: 'parse_only' is deprecated [-Wdeprecated-declarations] if (avctx->parse_only) ^~ In file included from libavcodec/mpegaudiodec.c:30:0: libavcodec/avcodec.h:1814:30: note: declared here attribute_deprecated int parse_only; ^~~~~~~~~~ libavcodec/mpegaudiodec.c:1704:14: warning: variable 'out_size' set but not used [-Wunused-but-set-variable] int len, out_size, ret = 0; ^~~~~~~~ CC libavcodec/mpegaudiodec_float.o In file included from libavcodec/mpegaudiodec_float.c:23:0: libavcodec/mpegaudiodec.c: In function 'mp_decode_layer3': libavcodec/mpegaudiodec.c:1383:13: warning: unused variable 'skip' [-Wunused-variable] int skip; ^~~~ libavcodec/mpegaudiodec.c: In function 'decode_frame_adu': libavcodec/mpegaudiodec.c:1737:5: warning: 'parse_only' is deprecated [-Wdeprecated-declarations] if (avctx->parse_only) ^~ In file included from libavcodec/mpegaudiodec.c:30:0, 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:0: libavcodec/mpegaudiodec.c:1704:14: warning: variable 'out_size' set but not used [-Wunused-but-set-variable] int len, out_size, ret = 0; ^~~~~~~~ CC libavcodec/mpegaudiodecheader.o CC libavcodec/mpegaudiodsp.o CC libavcodec/mpegaudiodsp_fixed.o CC libavcodec/mpegaudiodsp_float.o CC libavcodec/mpegaudioenc.o CC libavcodec/mpegvideo.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_enc.o CC libavcodec/mpegvideo_parser.o CC libavcodec/mpegvideo_xvmc.o CC libavcodec/mqc.o CC libavcodec/mqcdec.o CC libavcodec/mqcenc.o CC libavcodec/msgsmdec.o CC libavcodec/msmpeg4.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/msmpeg4data.o CC libavcodec/msrle.o CC libavcodec/msrledec.o libavcodec/msrledec.c: In function 'ff_msrle_decode': libavcodec/msrledec.c:231:36: warning: 'pix[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] *output++ = pix[2]; ~~~~~~~~~~^~~~~~~~ libavcodec/msrledec.c:206:21: note: 'pix[2]' was declared here uint8_t pix[3]; //original pixel ^~~ libavcodec/msrledec.c:230:36: warning: 'pix[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] *output++ = pix[1]; ~~~~~~~~~~^~~~~~~~ libavcodec/msrledec.c:206:21: note: 'pix[1]' was declared here uint8_t pix[3]; //original pixel ^~~ libavcodec/msrledec.c:229:36: warning: 'pix[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] case 24: *output++ = pix[0]; ~~~~~~~~~~^~~~~~~~ libavcodec/msrledec.c:206:21: note: 'pix[0]' was declared here uint8_t pix[3]; //original pixel ^~~ CC libavcodec/msvideo1.o CC libavcodec/msvideo1enc.o CC libavcodec/mxpegdec.o CC libavcodec/nellymoser.o CC libavcodec/nellymoserdec.o CC libavcodec/nellymoserenc.o CC libavcodec/noise_bsf.o CC libavcodec/nuv.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:0: libavcodec/avcodec.h:3725:5: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'const uint8_t * {aka const unsigned char *}' int avpicture_fill(AVPicture *picture, uint8_t *ptr, ^~~~~~~~~~~~~~ CC libavcodec/options.o 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: ./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/pamenc.o CC libavcodec/parser.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/pcm-mpeg.o CC libavcodec/pcm.o CC libavcodec/pcx.o CC libavcodec/pcxenc.o CC libavcodec/pgssubdec.o CC libavcodec/pictordec.o CC libavcodec/png.o CC libavcodec/pngdec.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/pngenc.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.o CC libavcodec/pnm_parser.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; ^ CC libavcodec/pnmdec.o 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/pnmenc.o CC libavcodec/proresdec2.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:30: 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:30: note: expected 'uint16_t * {aka short unsigned int *}' but argument is of type 'uint8_t * {aka unsigned char *}' libavcodec/proresdec2.c:383:30: 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:30: note: expected 'uint16_t * {aka short unsigned int *}' but argument is of type 'uint8_t * {aka unsigned char *}' libavcodec/proresdec2.c:384:30: 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:30: 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:34: 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:34: note: expected 'uint16_t * {aka short unsigned int *}' but argument is of type 'uint8_t * {aka unsigned char *}' CC libavcodec/proresdec_lgpl.o CC libavcodec/proresdsp.o CC libavcodec/proresenc.o CC libavcodec/psymodel.o CC libavcodec/pthread.o CC libavcodec/ptx.o CC libavcodec/qcelpdec.o CC libavcodec/qdm2.o libavcodec/qdm2.c: In function 'fill_coding_method_array': libavcodec/qdm2.c:662:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (ch = 0; ch < nb_channels; ch++) ^~~ libavcodec/qdm2.c:691:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' acc = 0; ^~~ CC libavcodec/qdrw.o CC libavcodec/qpeg.o CC libavcodec/qtrle.o CC libavcodec/qtrleenc.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/r210dec.o CC libavcodec/r210enc.o CC libavcodec/ra144.o CC libavcodec/ra144dec.o CC libavcodec/ra144enc.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; ^~~~~~~~~ CC libavcodec/ra288.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:0: libavcodec/bytestream.h:41:30: 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 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:0: libavcodec/avcodec.h:3725:5: 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 from incompatible pointer type [-Wincompatible-pointer-types] frame->data[1]= context->palette; ^ CC libavcodec/rawenc.o CC libavcodec/rdft.o CC libavcodec/remove_extradata_bsf.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/resample.o CC libavcodec/resample2.o CC libavcodec/rl2.o CC libavcodec/rle.o CC libavcodec/roqaudioenc.o CC libavcodec/roqvideo.o CC libavcodec/roqvideodec.o CC libavcodec/roqvideoenc.o CC libavcodec/rpza.o CC libavcodec/rtjpeg.o CC libavcodec/rv10.o CC libavcodec/rv10enc.o CC libavcodec/rv20enc.o CC libavcodec/rv30.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/rv30dsp.o CC libavcodec/rv34.o CC libavcodec/rv34_parser.o 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 libavcodec/shorten.c: In function 'shorten_decode_frame': libavcodec/shorten.c:504:30: warning: array subscript is below array bounds [-Warray-bounds] if (!is_audio_command[cmd]) { ~~~~~~~~~~~~~~~~^~~~~ 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 libavcodec/sonic.c: In function 'sonic_decode_frame': libavcodec/sonic.c:872:13: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] samples = s->frame.data[0]; ^ CC libavcodec/sp5xdec.o CC libavcodec/srtdec.o CC libavcodec/srtenc.o CC libavcodec/sunrast.o CC libavcodec/svq1.o CC libavcodec/svq1dec.o CC libavcodec/svq1enc.o 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:0: libavcodec/internal.h:98:5: note: expected 'const uint16_t (*)[2] {aka const short unsigned int (*)[2]}' but argument is of type 'const struct svq1_frame_size *' int ff_match_2uint16(const uint16_t (*tab)[2], int size, int a, int b); ^~~~~~~~~~~~~~~~ CC libavcodec/svq3.o libavcodec/svq3.c: In function 'svq3_decode_mb': libavcodec/svq3.c:663:39: 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:19: 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:0, 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); ^~~~~~~ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from ./libavutil/common.h:34, from ./libavutil/avutil.h:328, from ./libavutil/samplefmt.h:22, from libavcodec/avcodec.h:30, from libavcodec/internal.h:30, from libavcodec/svq3.c:42: 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], ^ In file included from /usr/include/string.h:127:0, from ./libavutil/common.h:36, from ./libavutil/avutil.h:328, from ./libavutil/samplefmt.h:22, from libavcodec/avcodec.h:30, from libavcodec/internal.h:30, from libavcodec/svq3.c:42: 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], ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from ./libavutil/common.h:34, from ./libavutil/avutil.h:328, from ./libavutil/samplefmt.h:22, from libavcodec/avcodec.h:30, from libavcodec/internal.h:30, from libavcodec/svq3.c:42: 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], ^ In file included from /usr/include/string.h:127:0, from ./libavutil/common.h:36, from ./libavutil/avutil.h:328, from ./libavutil/samplefmt.h:22, from libavcodec/avcodec.h:30, from libavcodec/internal.h:30, from libavcodec/svq3.c:42: 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/synth_filter.o CC libavcodec/targa.o CC libavcodec/targaenc.o CC libavcodec/tiertexseqv.o CC libavcodec/tiff.o libavcodec/tiff.c: In function 'tiff_uncompress': libavcodec/tiff.c:88:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] zstream.next_in = src; ^ CC libavcodec/tiffenc.o CC libavcodec/timecode.o In file included from /usr/include/stdio.h:597:0, from libavcodec/timecode.c:27: libavcodec/timecode.c: In function 'avpriv_timecode_to_string': libavcodec/timecode.c:98:23: warning: '%02d' directive output may be truncated writing between 2 and 10 bytes into a region of size between 0 and 7 [-Wformat-truncation=] snprintf(buf, 16, "%s%02d:%02d:%02d%c%02d", ^ libavcodec/timecode.c:98:23: note: directive argument in the range [0, 2147483647] libavcodec/timecode.c:98:5: note: '__builtin_snprintf' output between 12 and 32 bytes into a destination of size 16 snprintf(buf, 16, "%s%02d:%02d:%02d%c%02d", ^ CC libavcodec/tmv.o CC libavcodec/truemotion1.o CC libavcodec/truemotion2.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; ^~~~ CC libavcodec/truespeech.o CC libavcodec/tscc.o libavcodec/tscc.c: In function 'decode_frame': libavcodec/tscc.c:97:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] c->zstream.next_in = encoded; ^ CC libavcodec/tta.o CC libavcodec/twinvq.o CC libavcodec/txd.o CC libavcodec/ulti.o CC libavcodec/codec_names.h CC libavcodec/utils.o 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:318: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:0: ./libavutil/samplefmt.h:137:5: 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:758:41: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] *(AVClass**)avctx->priv_data= codec->priv_class; ^ libavcodec/utils.c:819:12: warning: 'error_recognition' is deprecated [-Wdeprecated-declarations] avctx->error_recognition, avctx->err_recognition); ^~~~~ In file included from libavcodec/utils.c:38:0: libavcodec/avcodec.h:1717:30: note: declared here attribute_deprecated int error_recognition; ^~~~~~~~~~~~~~~~~ libavcodec/utils.c:820:5: warning: 'error_recognition' is deprecated [-Wdeprecated-declarations] switch(avctx->error_recognition){ ^~~~~~ In file included from libavcodec/utils.c:38:0: libavcodec/avcodec.h:1717:30: note: declared here attribute_deprecated int error_recognition; ^~~~~~~~~~~~~~~~~ libavcodec/utils.c:830:12: warning: 'error_recognition' is deprecated [-Wdeprecated-declarations] avctx->error_recognition, avctx->err_recognition); ^~~~~ In file included from libavcodec/utils.c:38:0: libavcodec/avcodec.h:1717:30: note: declared here attribute_deprecated int error_recognition; ^~~~~~~~~~~~~~~~~ libavcodec/utils.c: In function 'avcodec_encode_audio': libavcodec/utils.c:1123:45: warning: passing argument 4 of 'avcodec_fill_audio_frame' from incompatible pointer type [-Wincompatible-pointer-types] samples, samples_size, 1))) ^~~~~~~ libavcodec/utils.c:296:5: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'const short int *' int avcodec_fill_audio_frame(AVFrame *frame, int nb_channels, ^~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/utils.c: In function 'avcodec_encode_video': libavcodec/utils.c:1166: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:1166: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:1184: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:1184:54: note: expected 'void *' but argument is of type 'const AVSubtitle * {aka const struct AVSubtitle *}' 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/vaapi.o libavcodec/vaapi.c: In function 'commit_slices': libavcodec/vaapi.c:109:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1, (void *)vactx->slice_data, ^ CC libavcodec/vaapi_h264.o libavcodec/vaapi_h264.c: In function 'start_frame': libavcodec/vaapi_h264.c:260:5: warning: 'num_slice_groups_minus1' is deprecated [-Wdeprecated-declarations] pic_param->num_slice_groups_minus1 = h->pps.slice_group_count - 1; ^~~~~~~~~ In file included from libavcodec/vaapi_internal.h:27:0, from libavcodec/vaapi_h264.c:23: /tmp/pkgbuild/multimedia/ffmpeg010/work.alpha/.buildlink/include/va/va.h:2993:27: note: declared here va_deprecated uint8_t num_slice_groups_minus1; ^~~~~~~~~~~~~~~~~~~~~~~ libavcodec/vaapi_h264.c:261:5: warning: 'slice_group_map_type' is deprecated [-Wdeprecated-declarations] pic_param->slice_group_map_type = h->pps.mb_slice_group_map_type; ^~~~~~~~~ In file included from libavcodec/vaapi_internal.h:27:0, from libavcodec/vaapi_h264.c:23: /tmp/pkgbuild/multimedia/ffmpeg010/work.alpha/.buildlink/include/va/va.h:2994:27: note: declared here va_deprecated uint8_t slice_group_map_type; ^~~~~~~~~~~~~~~~~~~~ libavcodec/vaapi_h264.c:262:5: warning: 'slice_group_change_rate_minus1' is deprecated [-Wdeprecated-declarations] pic_param->slice_group_change_rate_minus1 = 0; /* XXX: unimplemented in FFmpeg */ ^~~~~~~~~ In file included from libavcodec/vaapi_internal.h:27:0, from libavcodec/vaapi_h264.c:23: /tmp/pkgbuild/multimedia/ffmpeg010/work.alpha/.buildlink/include/va/va.h:2995:28: note: declared here va_deprecated uint16_t slice_group_change_rate_minus1; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavcodec/vaapi_mpeg2.o CC libavcodec/vaapi_mpeg4.o CC libavcodec/vaapi_vc1.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 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; ^~~~ libavcodec/vc1dec.c: In function 'vc1_pred_mv_intfr.isra.10': libavcodec/vc1dec.c:1611:9: warning: 'px' may be used uninitialized in this function [-Wmaybe-uninitialized] int px, py; ^~ libavcodec/vc1dec.c:1611:13: warning: 'py' may be used uninitialized in this function [-Wmaybe-uninitialized] int px, py; ^~ 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_decode_intra_block': libavcodec/vc1dec.c:2987:13: warning: 'dc_val' may be used uninitialized in this function [-Wmaybe-uninitialized] *dc_val = dcdiff; ~~~~~~~~^~~~~~~~ libavcodec/vc1dec.c: In function 'vc1_decode_p_mb_intfr': libavcodec/vc1dec.c:1611:9: warning: 'px' may be used uninitialized in this function [-Wmaybe-uninitialized] int px, py; ^~ libavcodec/vc1dec.c:1611:13: warning: 'py' may be used uninitialized in this function [-Wmaybe-uninitialized] int px, py; ^~ libavcodec/vc1dec.c: In function 'vc1_decode_i_blocks_adv': libavcodec/vc1dec.c:2766:13: warning: 'dc_val' may be used uninitialized in this function [-Wmaybe-uninitialized] *dc_val = dcdiff; ~~~~~~~~^~~~~~~~ libavcodec/vc1dec.c:2729:14: note: 'dc_val' was declared here int16_t *dc_val; ^~~~~~ CC libavcodec/vc1dsp.o libavcodec/vc1dsp.c: In function 'ff_vc1dsp_init': libavcodec/vc1dsp.c:803:39: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] dsp->put_vc1_mspel_pixels_tab[ 0] = ff_put_pixels8x8_c; ^ libavcodec/vc1dsp.c:820:39: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] dsp->avg_vc1_mspel_pixels_tab[ 0] = ff_avg_pixels8x8_c; ^ CC libavcodec/vcr1.o CC libavcodec/vmdav.o CC libavcodec/vmnc.o CC libavcodec/vorbis.o CC libavcodec/vorbis_data.o CC libavcodec/vorbisdec.o CC libavcodec/vorbisenc.o CC libavcodec/vp3.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/vp3_parser.o 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 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 libavcodec/wmavoice.c: In function 'postfilter.constprop': libavcodec/wmavoice.c:532:9: 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:519:18: note: 'best_hist_ptr' was declared here *best_hist_ptr; ^~~~~~~~~~~~~ libavcodec/wmavoice.c: In function 'synth_superframe': libavcodec/wmavoice.c:1601:27: warning: 'cur_pitch_val' may be used uninitialized in this function [-Wmaybe-uninitialized] s->last_pitch_val = cur_pitch_val; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ libavcodec/wmavoice.c:1453:42: note: 'cur_pitch_val' was declared here int n, n_blocks_x2, log_n_blocks_x2, cur_pitch_val; ^~~~~~~~~~~~~ CC libavcodec/wmv2.o CC libavcodec/wmv2dec.o CC libavcodec/wmv2enc.o CC libavcodec/wnv1.o CC libavcodec/ws-snd1.o CC libavcodec/xan.o CC libavcodec/xiph.o CC libavcodec/xl.o CC libavcodec/xsubdec.o CC libavcodec/xsubenc.o CC libavcodec/xwddec.o CC libavcodec/xwdenc.o CC libavcodec/xxan.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/y41pdec.o CC libavcodec/y41penc.o CC libavcodec/yop.o CC libavcodec/yuv4dec.o CC libavcodec/yuv4enc.o CC libavcodec/zmbv.o libavcodec/zmbv.c: In function 'decode_frame': libavcodec/zmbv.c:516:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] c->zstream.next_in = buf; ^ CC libavcodec/zmbvenc.o CC libavutil/adler32.o CC libavutil/aes.o CC libavutil/audioconvert.o CC libavutil/avstring.o 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 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:0: 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:0: libavutil/opt.h:370:6: note: declared here void av_opt_set_defaults2(void *s, int mask, int flags); ^~~~~~~~~~~~~~~~~~~~ CC libavutil/parseutils.o CC libavutil/pixdesc.o CC libavutil/random_seed.o CC libavutil/rational.o CC libavutil/rc4.o CC libavutil/samplefmt.o CC libavutil/sha.o CC libavutil/tree.o CC libavutil/utils.o LD libavutil/libavutil.so.51 LD libavcodec/libavcodec.so.53 ld: libavcodec/shorten.o: in function `shorten_decode_frame': (.text+0xf20): relocation truncated to fit: GPRELHIGH against `.rodata' ld: (.text+0x4360): relocation truncated to fit: GPRELHIGH against `.rodata' gmake: *** [library.mak:97: libavcodec/libavcodec.so.53] Error 1 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/multimedia/ffmpeg010 *** Error code 1 Stop. make: stopped in /usr/pkgsrc/multimedia/ffmpeg010