memcpy((uint8_t *) &s->gb.buffer[get_bits_count(&s->gb) >> 3], ^ CC libavcodec/tiffenc.o libavcodec/tiff.c: In function 'tiff_uncompress': libavcodec/tiff.c:89:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] zstream.next_in = src; ^ CC libavcodec/tmv.o CC libavcodec/truemotion1.o CC libavcodec/truemotion2.o CC libavcodec/truespeech.o CC libavcodec/tscc.o libavcodec/svq1dec.c: In function 'svq1_decode_block_intra': libavcodec/svq1dec.c:150:35: warning: 'entries[5]' may be used uninitialized in this function [-Wmaybe-uninitialized] n3 = codebook[entries[j]] ^ 0x80808080;\ ^ libavcodec/svq1dec.c:211:15: note: 'entries[5]' was declared here int entries[6]; ^~~~~~~ libavcodec/svq1dec.c:150:35: warning: 'entries[4]' may be used uninitialized in this function [-Wmaybe-uninitialized] n3 = codebook[entries[j]] ^ 0x80808080;\ ^ libavcodec/svq1dec.c:211:15: note: 'entries[4]' was declared here int entries[6]; ^~~~~~~ libavcodec/svq1dec.c:150:35: warning: 'entries[3]' may be used uninitialized in this function [-Wmaybe-uninitialized] n3 = codebook[entries[j]] ^ 0x80808080;\ ^ libavcodec/svq1dec.c:211:15: note: 'entries[3]' was declared here int entries[6]; ^~~~~~~ libavcodec/svq1dec.c:150:35: warning: 'entries[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] n3 = codebook[entries[j]] ^ 0x80808080;\ ^ libavcodec/svq1dec.c:211:15: note: 'entries[2]' was declared here int entries[6]; ^~~~~~~ libavcodec/svq1dec.c:150:35: warning: 'entries[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] n3 = codebook[entries[j]] ^ 0x80808080;\ ^ libavcodec/svq1dec.c:211:15: note: 'entries[1]' was declared here int entries[6]; ^~~~~~~ libavcodec/svq1dec.c:150:35: warning: 'entries[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] n3 = codebook[entries[j]] ^ 0x80808080;\ ^ libavcodec/svq1dec.c:211:15: note: 'entries[0]' was declared here int entries[6]; ^~~~~~~ In file included from libavcodec/motion_est.c:289:0: libavcodec/motion_est.c: In function 'h263_mv4_search': libavcodec/motion_est_template.c:1166: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:602: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:1166: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:602: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:1169: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:602: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:1169:31: warning: 'P[3][0]' may be used uninitialized in this function [-Wmaybe-uninitialized] CHECK_MV(P_TOPRIGHT[0]>>shift, P_TOPRIGHT[1]>>shift) ^~ libavcodec/motion_est.c:602:9: note: 'P[3][0]' was declared here int P[10][2]; ^ In file included from libavcodec/motion_est.c:289:0: libavcodec/motion_est_template.c:1168: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:602: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:1168: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:602:9: note: 'P[2][0]' was declared here int P[10][2]; ^ libavcodec/tscc.c: In function 'decode_frame': libavcodec/tscc.c:96: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/utils.o CC libavcodec/v210dec.o libavcodec/mpegvideo.c: In function 'MPV_common_init': libavcodec/mpegvideo.c:702:109: warning: 'mv_table_size' may be used uninitialized in this function [-Wmaybe-uninitialized] FF_ALLOCZ_OR_GOTO(s->avctx, s->b_field_mv_table_base[i][j][k], mv_table_size * 2 * sizeof(int16_t), fail) ^ In file included from ./libavutil/common.h:340:0, from ./libavutil/intmath.h:55, from libavcodec/mpegvideo.c:30: ./libavutil/internal.h:171:19: warning: 'mb_array_size' may be used uninitialized in this function [-Wmaybe-uninitialized] if (p == NULL && (size) != 0) {\ ^~ libavcodec/mpegvideo.c:578:37: note: 'mb_array_size' was declared here int y_size, c_size, yc_size, i, mb_array_size, mv_table_size, x, y, threads; ^~~~~~~~~~~~~ In file included from ./libavutil/common.h:340:0, from ./libavutil/intmath.h:55, from libavcodec/mpegvideo.c:30: ./libavutil/internal.h:170:9: warning: 'yc_size' may be used uninitialized in this function [-Wmaybe-uninitialized] p = av_mallocz(size);\ ^~~~~~~~~~ libavcodec/mpegvideo.c:578:25: note: 'yc_size' was declared here int y_size, c_size, yc_size, i, mb_array_size, mv_table_size, x, y, threads; ^~~~~~~ libavcodec/mpegvideo.c:728:41: warning: 'c_size' may be used uninitialized in this function [-Wmaybe-uninitialized] s->dc_val[2] = s->dc_val[1] + c_size; ^ In file included from ./libavutil/common.h:340:0, from ./libavutil/intmath.h:55, from libavcodec/mpegvideo.c:30: ./libavutil/internal.h:171:19: warning: 'y_size' may be used uninitialized in this function [-Wmaybe-uninitialized] if (p == NULL && (size) != 0) {\ ^~ libavcodec/mpegvideo.c:578:9: note: 'y_size' was declared here int y_size, c_size, yc_size, i, mb_array_size, mv_table_size, x, y, threads; ^~~~~~ libavcodec/utils.c: In function 'avcodec_open': libavcodec/utils.c:500:41: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] *(AVClass**)avctx->priv_data= codec->priv_class; ^ libavcodec/utils.c: In function 'avcodec_encode_audio': libavcodec/utils.c:633:62: warning: passing argument 4 of 'avctx->codec->encode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] int ret = avctx->codec->encode(avctx, buf, buf_size, samples); ^~~~~~~ libavcodec/utils.c:633:62: note: expected 'void *' but argument is of type 'const short int *' libavcodec/utils.c: In function 'avcodec_encode_video': libavcodec/utils.c:650: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:650: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:669: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:669:54: note: expected 'void *' but argument is of type 'const AVSubtitle * {aka const struct AVSubtitle *}' libavcodec/utils.c: In function 'av_get_bits_per_sample_format': libavcodec/utils.c:1138:5: warning: 'av_get_bits_per_sample_fmt' is deprecated [-Wdeprecated-declarations] return av_get_bits_per_sample_fmt(sample_fmt); ^~~~~~ In file included from libavcodec/utils.c:34:0: ./libavutil/samplefmt.h:68:5: note: declared here int av_get_bits_per_sample_fmt(enum AVSampleFormat sample_fmt); ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavcodec/v210enc.o CC libavcodec/v210x.o CC libavcodec/vb.o libavcodec/v210dec.c: In function 'decode_frame': libavcodec/v210dec.c:94:25: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] *y++ = (val >> 14) & 0xFFC0; ~~~~~^~~~~~ libavcodec/v210enc.c: In function 'encode_frame': libavcodec/v210enc.c:93:17: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] val |=((*u++ & 0xFFC0) << 4) | ^~ CC libavcodec/vc1.o CC libavcodec/vc1_parser.o CC libavcodec/vc1data.o CC libavcodec/vc1dec.o CC libavcodec/vc1dsp.o In file included from libavcodec/motion_est.c:289:0: libavcodec/motion_est.c: In function 'interlaced_search': libavcodec/motion_est_template.c:1226:49: warning: 'P[4][1]' may be used uninitialized in this function [-Wmaybe-uninitialized] CHECK_MV(P_MEDIAN[0]>>shift, P_MEDIAN[1]>>shift) ^~ libavcodec/motion_est.c:752:9: note: 'P[4][1]' was declared here int P[10][2]; ^ In file included from libavcodec/motion_est.c:289:0: libavcodec/motion_est_template.c:1226:29: warning: 'P[4][0]' may be used uninitialized in this function [-Wmaybe-uninitialized] CHECK_MV(P_MEDIAN[0]>>shift, P_MEDIAN[1]>>shift) ^~ libavcodec/motion_est.c:752:9: note: 'P[4][0]' was declared here int P[10][2]; ^ In file included from libavcodec/motion_est.c:289:0: libavcodec/motion_est_template.c:1229:53: warning: 'P[3][1]' may be used uninitialized in this function [-Wmaybe-uninitialized] CHECK_MV(P_TOPRIGHT[0]>>shift, P_TOPRIGHT[1]>>shift) ^~ libavcodec/motion_est.c:752:9: note: 'P[3][1]' was declared here int P[10][2]; ^ In file included from libavcodec/motion_est.c:289:0: libavcodec/motion_est_template.c:1229:31: warning: 'P[3][0]' may be used uninitialized in this function [-Wmaybe-uninitialized] CHECK_MV(P_TOPRIGHT[0]>>shift, P_TOPRIGHT[1]>>shift) ^~ libavcodec/motion_est.c:752:9: note: 'P[3][0]' was declared here int P[10][2]; ^ In file included from libavcodec/motion_est.c:289:0: libavcodec/motion_est_template.c:1228:43: warning: 'P[2][1]' may be used uninitialized in this function [-Wmaybe-uninitialized] CHECK_MV(P_TOP[0]>>shift, P_TOP[1]>>shift) ^~ libavcodec/motion_est.c:752:9: note: 'P[2][1]' was declared here int P[10][2]; ^ In file included from libavcodec/motion_est.c:289:0: libavcodec/motion_est_template.c:1228:26: warning: 'P[2][0]' may be used uninitialized in this function [-Wmaybe-uninitialized] CHECK_MV(P_TOP[0]>>shift, P_TOP[1]>>shift) ^~ libavcodec/motion_est.c:752:9: note: 'P[2][0]' was declared here int P[10][2]; ^ CC libavcodec/vcr1.o libavcodec/vc1dsp.c: In function 'ff_vc1dsp_init': libavcodec/vc1dsp.c:736:39: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] dsp->put_vc1_mspel_pixels_tab[ 0] = ff_put_pixels8x8_c; ^ libavcodec/vc1dsp.c:753:39: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] dsp->avg_vc1_mspel_pixels_tab[ 0] = ff_avg_pixels8x8_c; ^ CC libavcodec/vmdav.o CC libavcodec/vmnc.o CC libavcodec/vorbis.o CC libavcodec/vorbis_data.o libavcodec/vmdav.c: In function 'vmdaudio_decode_init': libavcodec/vmdav.c:450:5: warning: 'av_get_bits_per_sample_fmt' is deprecated [-Wdeprecated-declarations] s->out_bps = av_get_bits_per_sample_fmt(avctx->sample_fmt) >> 3; ^ In file included from libavcodec/avcodec.h:30:0, from libavcodec/vmdav.c:47: ./libavutil/samplefmt.h:68:5: note: declared here int av_get_bits_per_sample_fmt(enum AVSampleFormat sample_fmt); ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavcodec/vorbisdec.o CC libavcodec/vorbisenc.o CC libavcodec/vp3.o libavcodec/vc1dec.c:48:23: warning: 'table_mb_intra' defined but not used [-Wunused-const-variable=] static const uint16_t table_mb_intra[64][2]; ^~~~~~~~~~~~~~ libavcodec/vorbisdec.c: In function 'vorbis_decode_frame': libavcodec/vorbisdec.c:1649:18: warning: 'av_get_bits_per_sample_fmt' is deprecated [-Wdeprecated-declarations] (av_get_bits_per_sample_fmt(avccontext->sample_fmt) / 8); ^ In file included from libavcodec/avcodec.h:30:0, from libavcodec/vorbisdec.c:27: ./libavutil/samplefmt.h:68:5: note: declared here int av_get_bits_per_sample_fmt(enum AVSampleFormat sample_fmt); ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC libavcodec/vp3_parser.o CC libavcodec/vp3dsp.o CC libavcodec/vp5.o libavcodec/vp3.c: In function 'unpack_superblocks': libavcodec/vp3.c:387:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ libavcodec/vp3.c:390:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' current_run = get_vlc2(gb, ^~~~~~~~~~~ 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/wmaprodec.o CC libavcodec/wmavoice.o 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/xxan.o libavcodec/wmavoice.c: In function 'postfilter.constprop': libavcodec/wmavoice.c:517: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:504:18: note: 'best_hist_ptr' was declared here *best_hist_ptr; ^~~~~~~~~~~~~ CC libavcodec/yop.o CC libavcodec/zmbv.o CC libavcodec/zmbvenc.o CC libswscale/options.o libavcodec/zmbv.c: In function 'decode_frame': libavcodec/zmbv.c:494:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] c->zstream.next_in = buf; ^ libavcodec/wmaprodec.c: In function 'decode_frame': libavcodec/wmaprodec.c:558:16: warning: 'contains_subframe[7]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (contains_subframe[c]) { ^ libavcodec/wmaprodec.c:512:14: note: 'contains_subframe[7]' was declared here uint8_t contains_subframe[WMAPRO_MAX_CHANNELS]; /**< flag indicating if a channel contains the current subframe */ ^~~~~~~~~~~~~~~~~ libavcodec/wmaprodec.c:558:16: warning: 'contains_subframe[6]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (contains_subframe[c]) { ^ libavcodec/wmaprodec.c:512:14: note: 'contains_subframe[6]' was declared here uint8_t contains_subframe[WMAPRO_MAX_CHANNELS]; /**< flag indicating if a channel contains the current subframe */ ^~~~~~~~~~~~~~~~~ libavcodec/wmaprodec.c:558:16: warning: 'contains_subframe[5]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (contains_subframe[c]) { ^ libavcodec/wmaprodec.c:512:14: note: 'contains_subframe[5]' was declared here uint8_t contains_subframe[WMAPRO_MAX_CHANNELS]; /**< flag indicating if a channel contains the current subframe */ ^~~~~~~~~~~~~~~~~ libavcodec/wmaprodec.c:558:16: warning: 'contains_subframe[4]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (contains_subframe[c]) { ^ libavcodec/wmaprodec.c:512:14: note: 'contains_subframe[4]' was declared here uint8_t contains_subframe[WMAPRO_MAX_CHANNELS]; /**< flag indicating if a channel contains the current subframe */ ^~~~~~~~~~~~~~~~~ libavcodec/wmaprodec.c:558:16: warning: 'contains_subframe[3]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (contains_subframe[c]) { ^ libavcodec/wmaprodec.c:512:14: note: 'contains_subframe[3]' was declared here uint8_t contains_subframe[WMAPRO_MAX_CHANNELS]; /**< flag indicating if a channel contains the current subframe */ ^~~~~~~~~~~~~~~~~ libavcodec/wmaprodec.c:558:16: warning: 'contains_subframe[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (contains_subframe[c]) { ^ libavcodec/wmaprodec.c:512:14: note: 'contains_subframe[2]' was declared here uint8_t contains_subframe[WMAPRO_MAX_CHANNELS]; /**< flag indicating if a channel contains the current subframe */ ^~~~~~~~~~~~~~~~~ libavcodec/wmaprodec.c:558:16: warning: 'contains_subframe[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (contains_subframe[c]) { ^ libavcodec/wmaprodec.c:512:14: note: 'contains_subframe[1]' was declared here uint8_t contains_subframe[WMAPRO_MAX_CHANNELS]; /**< flag indicating if a channel contains the current subframe */ ^~~~~~~~~~~~~~~~~ libavcodec/wmaprodec.c:558:16: warning: 'contains_subframe[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (contains_subframe[c]) { ^ libavcodec/wmaprodec.c:512:14: note: 'contains_subframe[0]' was declared here uint8_t contains_subframe[WMAPRO_MAX_CHANNELS]; /**< flag indicating if a channel contains the current subframe */ ^~~~~~~~~~~~~~~~~ CC libswscale/rgb2rgb.o CC libswscale/swscale.o CC libswscale/swscale_unscaled.o CC libswscale/utils.o CC libswscale/yuv2rgb.o CC libavutil/adler32.o CC libavutil/aes.o CC libavutil/audioconvert.o CC libavutil/avstring.o libswscale/swscale_unscaled.c: In function 'sws_scale': libswscale/swscale_unscaled.c:747:31: warning: passing argument 1 of 'check_image_pointers' from incompatible pointer type [-Wincompatible-pointer-types] if (!check_image_pointers(src, c->srcFormat, srcStride)) { ^~~ libswscale/swscale_unscaled.c:717:12: note: expected 'uint8_t ** {aka unsigned char **}' but argument is of type 'const uint8_t * const* {aka const unsigned char * const*}' static int check_image_pointers(uint8_t *data[4], enum PixelFormat pix_fmt, ^~~~~~~~~~~~~~~~~~~~ libswscale/swscale_unscaled.c:751:31: warning: passing argument 1 of 'check_image_pointers' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!check_image_pointers(dst, c->dstFormat, dstStride)) { ^~~ libswscale/swscale_unscaled.c:717:12: note: expected 'uint8_t ** {aka unsigned char **}' but argument is of type 'uint8_t * const* {aka unsigned char * const*}' static int check_image_pointers(uint8_t *data[4], enum PixelFormat pix_fmt, ^~~~~~~~~~~~~~~~~~~~ libswscale/swscale_unscaled.c:833:19: warning: to be safe all intermediate pointers in cast from 'uint8_t ** {aka unsigned char **}' to 'const uint8_t ** {aka const unsigned char **}' must be 'const' qualified [-Wcast-qual] reset_ptr((const uint8_t**)dst2, c->dstFormat); ^ libswscale/swscale_unscaled.c:856:19: warning: to be safe all intermediate pointers in cast from 'uint8_t ** {aka unsigned char **}' to 'const uint8_t ** {aka const unsigned char **}' must be 'const' qualified [-Wcast-qual] reset_ptr((const uint8_t**)dst2, c->dstFormat); ^ libavutil/aes.c: In function 'av_aes_init': libavutil/aes.c:160:22: warning: passing argument 1 of 'init_multbl2' from incompatible pointer type [-Wincompatible-pointer-types] init_multbl2(dec_multbl[0], (const int[4]){0xe, 0x9, 0xd, 0xb}, log8, alog8, inv_sbox); ^~~~~~~~~~ libavutil/aes.c:122:13: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'uint32_t * {aka unsigned int *}' static void init_multbl2(uint8_t tbl[1024], const int c[4], const uint8_t *log8, const uint8_t *alog8, const uint8_t *sbox){ ^~~~~~~~~~~~ libavutil/aes.c:161:22: warning: passing argument 1 of 'init_multbl2' from incompatible pointer type [-Wincompatible-pointer-types] init_multbl2(enc_multbl[0], (const int[4]){0x2, 0x1, 0x1, 0x3}, log8, alog8, sbox); ^~~~~~~~~~ libavutil/aes.c:122:13: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'uint32_t * {aka unsigned int *}' static void init_multbl2(uint8_t tbl[1024], const int c[4], const uint8_t *log8, const uint8_t *alog8, const uint8_t *sbox){ ^~~~~~~~~~~~ CC libavutil/base64.o libswscale/swscale.c: In function 'swScale': libswscale/swscale.c:2214:40: warning: to be safe all intermediate pointers in cast from 'int16_t ** {aka short int **}' to 'const int16_t ** {aka const short int **}' must be 'const' qualified [-Wcast-qual] const int16_t **lumSrcPtr= (const int16_t **) lumPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize; ^ libswscale/swscale.c:2215:41: warning: to be safe all intermediate pointers in cast from 'int16_t ** {aka short int **}' to 'const int16_t ** {aka const short int **}' must be 'const' qualified [-Wcast-qual] const int16_t **chrUSrcPtr= (const int16_t **) chrUPixBuf + chrBufIndex + firstChrSrcY - lastInChrBuf + vChrBufSize; ^ libswscale/swscale.c:2216:41: warning: to be safe all intermediate pointers in cast from 'int16_t ** {aka short int **}' to 'const int16_t ** {aka const short int **}' must be 'const' qualified [-Wcast-qual] const int16_t **chrVSrcPtr= (const int16_t **) chrVPixBuf + chrBufIndex + firstChrSrcY - lastInChrBuf + vChrBufSize; ^ libswscale/swscale.c:2217:78: warning: to be safe all intermediate pointers in cast from 'int16_t ** {aka short int **}' to 'const int16_t ** {aka const short int **}' must be 'const' qualified [-Wcast-qual] const int16_t **alpSrcPtr= (CONFIG_SWSCALE_ALPHA && alpPixBuf) ? (const int16_t **) alpPixBuf + lumBufIndex + firstLumSrcY - lastInLumBuf + vLumBufSize : NULL; ^ libavutil/avstring.c: In function 'av_stristr': libavutil/avstring.c:54:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return s1; ^~ libavutil/avstring.c:58:20: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return s1; ^~ CC libavutil/cpu.o At top level: libswscale/swscale.c:83:21: warning: 'rgb2yuv_table' defined but not used [-Wunused-const-variable=] static const double rgb2yuv_table[8][9]={ ^~~~~~~~~~~~~ CC libavutil/crc.o CC libavutil/des.o CC libavutil/dict.o CC libavutil/error.o CC libavutil/eval.o CC libavutil/fifo.o libavutil/des.c:43:22: warning: 'P_shuffle' defined but not used [-Wunused-const-variable=] static const uint8_t P_shuffle[] = { ^~~~~~~~~ libavutil/dict.c: In function 'av_dict_set': libavutil/dict.c:78:37: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] m->elems[m->count].key = key; ^ libavutil/dict.c:82:38: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] m->elems[m->count].value = value; ^ 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 libavcodec/wmavoice.c: In function 'synth_superframe': libavcodec/wmavoice.c:1572:27: warning: 'cur_pitch_val' may be used uninitialized in this function [-Wmaybe-uninitialized] s->last_pitch_val = cur_pitch_val; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ libavcodec/wmavoice.c:1425:42: note: 'cur_pitch_val' was declared here int n, n_blocks_x2, log_n_blocks_x2, cur_pitch_val; ^~~~~~~~~~~~~ CC libavutil/log.o CC libavutil/lzo.o CC libavutil/mathematics.o CC libavutil/md5.o CC libavutil/mem.o CC libavutil/opt.o CC libavutil/parseutils.o CC libavutil/pixdesc.o CC libavutil/random_seed.o CC libavutil/rational.o CC libavutil/rc4.o libavutil/opt.c: In function 'av_opt_flag_is_set': libavutil/opt.c:328:5: warning: 'av_find_opt' is deprecated [-Wdeprecated-declarations] const AVOption *field = av_find_opt(obj, field_name, NULL, 0, 0); ^~~~~ libavutil/opt.c:36:17: note: declared here const AVOption *av_find_opt(void *v, const char *name, const char *unit, int mask, int flags) ^~~~~~~~~~~ libavutil/opt.c:329:5: warning: 'av_find_opt' is deprecated [-Wdeprecated-declarations] const AVOption *flag = av_find_opt(obj, flag_name, NULL, 0, 0); ^~~~~ libavutil/opt.c:36:17: note: declared here const AVOption *av_find_opt(void *v, const char *name, const char *unit, int mask, int flags) ^~~~~~~~~~~ libavutil/parseutils.c: In function 'av_parse_video_size': libavutil/parseutils.c:110:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] p = str; ^ libavutil/parseutils.c: In function 'av_parse_time': libavutil/parseutils.c:567:35: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] dt.tm_sec = strtol(p, (char **)&q, 10); ^ CC libavutil/samplefmt.o CC libavutil/sha.o CC libavutil/tree.o CC libavutil/utils.o AR libavdevice/libavdevice.a AR libavformat/libavformat.a libswscale/yuv2rgb.c: In function 'ff_yuv2rgb_c_init_tables': libswscale/yuv2rgb.c:792:66: warning: 'abase' may be used uninitialized in this function [-Wmaybe-uninitialized] y_table32[i ] = (yval << rbase) + (needAlpha ? 0 : (255 << abase)); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ AR libavutil/libavutil.a AR libswscale/libswscale.a AR libavcodec/libavcodec.a