libavdevice/dshow.c: In function ‘dshow_show_filter_properties’:
libavdevice/dshow.c:516:5: warning: missing braces around initializer [-Wmissing-braces]
     FILTER_INFO filter_info = {0}; /* a warning on this line is false positive GCC bug 53119 AFAICT */
     ^
libavdevice/dshow.c:516:5: warning: (near initialization for ‘filter_info.achName’) [-Wmissing-braces]
libavdevice/vfwcap.c: In function ‘vfw_read_header’:
libavdevice/vfwcap.c:331:35: warning: passing argument 1 of ‘av_parse_video_size’ from incompatible pointer type
         ret = av_parse_video_size(&bi->bmiHeader.biWidth, &bi->bmiHeader.biHeight, ctx->video_size);
                                   ^
In file included from libavdevice/vfwcap.c:25:0:
./libavutil/parseutils.h:66:5: note: expected ‘int *’ but argument is of type ‘LONG *’
 int av_parse_video_size(int *width_ptr, int *height_ptr, const char *str);
     ^
libavdevice/vfwcap.c:331:59: warning: passing argument 2 of ‘av_parse_video_size’ from incompatible pointer type
         ret = av_parse_video_size(&bi->bmiHeader.biWidth, &bi->bmiHeader.biHeight, ctx->video_size);
                                                           ^
In file included from libavdevice/vfwcap.c:25:0:
./libavutil/parseutils.h:66:5: note: expected ‘int *’ but argument is of type ‘LONG *’
 int av_parse_video_size(int *width_ptr, int *height_ptr, const char *str);
     ^
libavfilter/lavfutils.c: In function ‘ff_load_image’:
libavfilter/lavfutils.c:53:5: warning: ‘codec’ is deprecated (declared at ./libavformat/avformat.h:880) [-Wdeprecated-declarations]
     codec_ctx = format_ctx->streams[0]->codec;
     ^
libavfilter/lavfutils.c:79:5: warning: ‘avcodec_decode_video2’ is deprecated (declared at ./libavcodec/avcodec.h:4753) [-Wdeprecated-declarations]
     ret = avcodec_decode_video2(codec_ctx, frame, &frame_decoded, &pkt);
     ^
libavfilter/src_movie.c: In function ‘movie_push_frame’:
libavfilter/src_movie.c:524:9: warning: ‘avcodec_decode_video2’ is deprecated (declared at ./libavcodec/avcodec.h:4753) [-Wdeprecated-declarations]
         ret = avcodec_decode_video2(st->codec_ctx, frame, &got_frame, pkt);
         ^
libavfilter/src_movie.c:527:9: warning: ‘avcodec_decode_audio4’ is deprecated (declared at ./libavcodec/avcodec.h:4704) [-Wdeprecated-declarations]
         ret = avcodec_decode_audio4(st->codec_ctx, frame, &got_frame, pkt);
         ^
libavfilter/vaf_spectrumsynth.c: In function ‘try_push_frame’:
libavfilter/vaf_spectrumsynth.c:370:19: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
     int ch, n, i, ret;
                   ^
libavfilter/vf_colorspace.c: In function ‘fill_rgb2xyz_table’:
libavfilter/vf_colorspace.c:360:22: warning: passing argument 1 of ‘invert_matrix3x3’ from incompatible pointer type
     invert_matrix3x3(rgb2xyz, i);
                      ^
libavfilter/vf_colorspace.c:277:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
 static void invert_matrix3x3(const double in[3][3], double out[3][3])
             ^
libavfilter/vf_colorspace.c: In function ‘fill_whitepoint_conv_table’:
libavfilter/vf_colorspace.c:424:21: warning: passing argument 3 of ‘mul3x3’ from incompatible pointer type
     mul3x3(tmp, ma, fac);
                     ^
libavfilter/vf_colorspace.c:376:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
 static void mul3x3(double dst[3][3], const double src1[3][3], const double src2[3][3])
             ^
libavfilter/vf_colorspace.c:425:17: warning: passing argument 2 of ‘mul3x3’ from incompatible pointer type
     mul3x3(out, tmp, mai);
                 ^
libavfilter/vf_colorspace.c:376:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
 static void mul3x3(double dst[3][3], const double src1[3][3], const double src2[3][3])
             ^
libavfilter/vf_colorspace.c:425:22: warning: passing argument 3 of ‘mul3x3’ from incompatible pointer type
     mul3x3(out, tmp, mai);
                      ^
libavfilter/vf_colorspace.c:376:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
 static void mul3x3(double dst[3][3], const double src1[3][3], const double src2[3][3])
             ^
libavfilter/vf_colorspace.c: In function ‘convert’:
libavfilter/vf_colorspace.c:480:20: warning: passing argument 7 of ‘s->yuv2yuv’ from incompatible pointer type
                    s->yuv2yuv_coeffs, s->yuv_offset);
                    ^
libavfilter/vf_colorspace.c:480:20: note: expected ‘const int16_t (*)[3][8]’ but argument is of type ‘int16_t (*)[3][8]’
libavfilter/vf_colorspace.c:480:39: warning: passing argument 8 of ‘s->yuv2yuv’ from incompatible pointer type
                    s->yuv2yuv_coeffs, s->yuv_offset);
                                       ^
libavfilter/vf_colorspace.c:480:39: note: expected ‘const int16_t (*)[8]’ but argument is of type ‘int16_t (*)[8]’
libavfilter/vf_colorspace.c:502:20: warning: passing argument 7 of ‘s->yuv2rgb’ from incompatible pointer type
                    s->yuv2rgb_coeffs, s->yuv_offset[0]);
                    ^
libavfilter/vf_colorspace.c:502:20: note: expected ‘const int16_t (*)[3][8]’ but argument is of type ‘int16_t (*)[3][8]’
libavfilter/vf_colorspace.c:506:62: warning: passing argument 5 of ‘s->dsp.multiply3x3’ from incompatible pointer type
                 s->dsp.multiply3x3(rgb, s->rgb_stride, w, h, s->lrgb2lrgb_coeffs);
                                                              ^
libavfilter/vf_colorspace.c:506:62: note: expected ‘const int16_t (*)[3][8]’ but argument is of type ‘int16_t (*)[3][8]’
libavfilter/vf_colorspace.c:511:28: warning: passing argument 7 of ‘s->rgb2yuv_fsb’ from incompatible pointer type
                            s->rgb2yuv_coeffs, s->yuv_offset[1], s->dither_scratch);
                            ^
libavfilter/vf_colorspace.c:511:28: note: expected ‘const int16_t (*)[3][8]’ but argument is of type ‘int16_t (*)[3][8]’
libavfilter/vf_colorspace.c:514:24: warning: passing argument 7 of ‘s->rgb2yuv’ from incompatible pointer type
                        s->rgb2yuv_coeffs, s->yuv_offset[1]);
                        ^
libavfilter/vf_colorspace.c:514:24: note: expected ‘const int16_t (*)[3][8]’ but argument is of type ‘int16_t (*)[3][8]’
libavfilter/vf_colorspace.c: In function ‘create_filtergraph’:
libavfilter/vf_colorspace.c:614:30: warning: passing argument 1 of ‘invert_matrix3x3’ from incompatible pointer type
             invert_matrix3x3(rgb2xyz, xyz2rgb);
                              ^
libavfilter/vf_colorspace.c:277:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
 static void invert_matrix3x3(const double in[3][3], double out[3][3])
             ^
libavfilter/vf_colorspace.c:622:29: warning: passing argument 2 of ‘mul3x3’ from incompatible pointer type
                 mul3x3(tmp, rgb2xyz, wpconv);
                             ^
libavfilter/vf_colorspace.c:376:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
 static void mul3x3(double dst[3][3], const double src1[3][3], const double src2[3][3])
             ^
libavfilter/vf_colorspace.c:622:38: warning: passing argument 3 of ‘mul3x3’ from incompatible pointer type
                 mul3x3(tmp, rgb2xyz, wpconv);
                                      ^
libavfilter/vf_colorspace.c:376:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
 static void mul3x3(double dst[3][3], const double src1[3][3], const double src2[3][3])
             ^
libavfilter/vf_colorspace.c:623:33: warning: passing argument 2 of ‘mul3x3’ from incompatible pointer type
                 mul3x3(rgb2rgb, tmp, xyz2rgb);
                                 ^
libavfilter/vf_colorspace.c:376:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
 static void mul3x3(double dst[3][3], const double src1[3][3], const double src2[3][3])
             ^
libavfilter/vf_colorspace.c:623:38: warning: passing argument 3 of ‘mul3x3’ from incompatible pointer type
                 mul3x3(rgb2rgb, tmp, xyz2rgb);
                                      ^
libavfilter/vf_colorspace.c:376:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
 static void mul3x3(double dst[3][3], const double src1[3][3], const double src2[3][3])
             ^
libavfilter/vf_colorspace.c:625:33: warning: passing argument 2 of ‘mul3x3’ from incompatible pointer type
                 mul3x3(rgb2rgb, rgb2xyz, xyz2rgb);
                                 ^
libavfilter/vf_colorspace.c:376:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
 static void mul3x3(double dst[3][3], const double src1[3][3], const double src2[3][3])
             ^
libavfilter/vf_colorspace.c:625:42: warning: passing argument 3 of ‘mul3x3’ from incompatible pointer type
                 mul3x3(rgb2rgb, rgb2xyz, xyz2rgb);
                                          ^
libavfilter/vf_colorspace.c:376:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
 static void mul3x3(double dst[3][3], const double src1[3][3], const double src2[3][3])
             ^
libavfilter/vf_colorspace.c:740:30: warning: passing argument 1 of ‘invert_matrix3x3’ from incompatible pointer type
             invert_matrix3x3(rgb2yuv, yuv2rgb);
                              ^
libavfilter/vf_colorspace.c:277:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
 static void invert_matrix3x3(const double in[3][3], double out[3][3])
             ^
libavfilter/vf_colorspace.c:796:29: warning: passing argument 2 of ‘mul3x3’ from incompatible pointer type
             mul3x3(yuv2yuv, yuv2rgb, rgb2yuv);
                             ^
libavfilter/vf_colorspace.c:376:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
 static void mul3x3(double dst[3][3], const double src1[3][3], const double src2[3][3])
             ^
libavfilter/vf_colorspace.c:796:38: warning: passing argument 3 of ‘mul3x3’ from incompatible pointer type
             mul3x3(yuv2yuv, yuv2rgb, rgb2yuv);
                                      ^
libavfilter/vf_colorspace.c:376:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
 static void mul3x3(double dst[3][3], const double src1[3][3], const double src2[3][3])
             ^
libavfilter/vf_hwupload.c: In function ‘hwupload_query_formats’:
libavfilter/vf_hwupload.c:84:5: warning: ignoring return value of ‘ff_formats_ref’, declared with attribute warn_unused_result [-Wunused-result]
     ff_formats_ref(input_formats, &avctx->inputs[0]->out_formats);
     ^
libavfilter/vf_hwupload.c:86:5: warning: ignoring return value of ‘ff_formats_ref’, declared with attribute warn_unused_result [-Wunused-result]
     ff_formats_ref(ff_make_format_list(output_pix_fmts),
     ^
libswscale/input.c:929:13: warning: ‘planar_rgb9le_to_a’ defined but not used [-Wunused-function]
 static void planar_rgb##nbits##endian_name##_to_a(uint8_t *dst, const uint8_t *src[4],              \
             ^
libswscale/input.c:941:5: note: in expansion of macro ‘rgb9plus_planar_funcs_endian’
     rgb9plus_planar_funcs_endian(nbits, le, 0)  \
     ^
libswscale/input.c:944:1: note: in expansion of macro ‘rgb9plus_planar_funcs’
 rgb9plus_planar_funcs(9)
 ^
libswscale/input.c:929:13: warning: ‘planar_rgb9be_to_a’ defined but not used [-Wunused-function]
 static void planar_rgb##nbits##endian_name##_to_a(uint8_t *dst, const uint8_t *src[4],              \
             ^
libswscale/input.c:942:5: note: in expansion of macro ‘rgb9plus_planar_funcs_endian’
     rgb9plus_planar_funcs_endian(nbits, be, 1)
     ^
libswscale/input.c:944:1: note: in expansion of macro ‘rgb9plus_planar_funcs’
 rgb9plus_planar_funcs(9)
 ^
libswscale/input.c:929:13: warning: ‘planar_rgb14le_to_a’ defined but not used [-Wunused-function]
 static void planar_rgb##nbits##endian_name##_to_a(uint8_t *dst, const uint8_t *src[4],              \
             ^
libswscale/input.c:941:5: note: in expansion of macro ‘rgb9plus_planar_funcs_endian’
     rgb9plus_planar_funcs_endian(nbits, le, 0)  \
     ^
libswscale/input.c:947:1: note: in expansion of macro ‘rgb9plus_planar_funcs’
 rgb9plus_planar_funcs(14)
 ^
libswscale/input.c:929:13: warning: ‘planar_rgb14be_to_a’ defined but not used [-Wunused-function]
 static void planar_rgb##nbits##endian_name##_to_a(uint8_t *dst, const uint8_t *src[4],              \
             ^
libswscale/input.c:942:5: note: in expansion of macro ‘rgb9plus_planar_funcs_endian’
     rgb9plus_planar_funcs_endian(nbits, be, 1)
     ^
libswscale/input.c:947:1: note: in expansion of macro ‘rgb9plus_planar_funcs’
 rgb9plus_planar_funcs(14)
 ^
libswscale/slice.c: In function ‘ff_init_slice_from_src’:
libswscale/slice.c:178:56: warning: assignment discards ‘const’ qualifier from pointer target type
                 s->plane[i].line[start[i] - first + j] = src_[i] +  j * stride[i];
                                                        ^
libswscale/slice.c:184:37: warning: assignment discards ‘const’ qualifier from pointer target type
                 s->plane[i].line[j] = src_[i] +  j * stride[i];
                                     ^
In file included from libavformat/avisynth.c:34:0:
./compat/avisynth/avisynth_c.h:788:27: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 AVSC_INLINE AVS_Library * avs_load_library() {
                           ^
libavformat/concatdec.c: In function ‘detect_stream_specific’:
libavformat/concatdec.c:206:9: warning: ‘av_bitstream_filter_init’ is deprecated (declared at ./libavcodec/avcodec.h:5782) [-Wdeprecated-declarations]
         if (!(bsf = av_bitstream_filter_init("h264_mp4toannexb"))) {
         ^
libavformat/concatdec.c: In function ‘concat_read_close’:
libavformat/concatdec.c:372:17: warning: ‘av_bitstream_filter_close’ is deprecated (declared at ./libavcodec/avcodec.h:5826) [-Wdeprecated-declarations]
                 av_bitstream_filter_close(cat->files[i].streams[j].bsf);
                 ^
libavformat/concatdec.c: In function ‘filter_packet’:
libavformat/concatdec.c:532:9: warning: ‘av_bitstream_filter_filter’ is deprecated (declared at ./libavcodec/avcodec.h:5814) [-Wdeprecated-declarations]
         ret = av_bitstream_filter_filter(bsf, cs->avctx, NULL,
         ^
libavformat/dump.c: In function ‘dump_stream_format’:
libavformat/dump.c:429:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     avctx->properties = st->codec->properties;
     ^
libavformat/dump.c:430:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     avctx->codec      = st->codec->codec;
     ^
libavformat/dump.c:431:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     avctx->qmin       = st->codec->qmin;
     ^
libavformat/dump.c:432:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     avctx->qmax       = st->codec->qmax;
     ^
libavformat/dump.c:433:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     avctx->coded_width  = st->codec->coded_width;
     ^
libavformat/dump.c:434:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     avctx->coded_height = st->codec->coded_height;
     ^
libavformat/dump.c:469:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         int tbc = st->codec->time_base.den && st->codec->time_base.num;
         ^
libavformat/dump.c:469:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
libavformat/dump.c:481:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             print_fps(1 / av_q2d(st->codec->time_base), "tbc");
             ^
libavformat/ffmdec.c: In function ‘ffm_close’:
libavformat/ffmdec.c:254:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         av_freep(&s->streams[i]->codec->rc_eq);
         ^
libavformat/ffmdec.c:254:9: warning: ‘rc_eq’ is deprecated (declared at ./libavcodec/avcodec.h:2640) [-Wdeprecated-declarations]
libavformat/ffmdec.c: In function ‘ffm2_read_header’:
libavformat/ffmdec.c:338:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             codec = st->codec;
             ^
libavformat/ffmdec.c:397:13: warning: ‘rc_eq’ is deprecated (declared at ./libavcodec/avcodec.h:2640) [-Wdeprecated-declarations]
             codec->rc_eq = av_strdup(rc_eq_buf);
             ^
libavformat/ffmdec.c:408:13: warning: ‘mpeg_quant’ is deprecated (declared at ./libavcodec/avcodec.h:1976) [-Wdeprecated-declarations]
             codec->mpeg_quant = avio_rb32(pb);
             ^
libavformat/ffmdec.c:410:13: warning: ‘me_method’ is deprecated (declared at ./libavcodec/avcodec.h:1884) [-Wdeprecated-declarations]
             codec->me_method = avio_rb32(pb);
             ^
libavformat/ffmdec.c:413:13: warning: ‘frame_skip_cmp’ is deprecated (declared at ./libavcodec/avcodec.h:2739) [-Wdeprecated-declarations]
             codec->frame_skip_cmp = avio_rb32(pb);
             ^
libavformat/ffmdec.c:414:13: warning: ‘rc_buffer_aggressivity’ is deprecated (declared at ./libavcodec/avcodec.h:2662) [-Wdeprecated-declarations]
             codec->rc_buffer_aggressivity = av_int2double(avio_rb64(pb));
             ^
libavformat/ffmdec.c:417:13: warning: ‘coder_type’ is deprecated (declared at ./libavcodec/avcodec.h:2701) [-Wdeprecated-declarations]
             codec->coder_type = avio_rb32(pb);
             ^
libavformat/ffmdec.c:422:13: warning: ‘scenechange_threshold’ is deprecated (declared at ./libavcodec/avcodec.h:2233) [-Wdeprecated-declarations]
             codec->scenechange_threshold = avio_rb32(pb);
             ^
libavformat/ffmdec.c:423:13: warning: ‘b_frame_strategy’ is deprecated (declared at ./libavcodec/avcodec.h:1955) [-Wdeprecated-declarations]
             codec->b_frame_strategy = avio_rb32(pb);
             ^
libavformat/ffmdec.c:490:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         avcodec_parameters_from_context(s->streams[i]->codecpar, s->streams[i]->codec);
         ^
libavformat/ffmdec.c: In function ‘ffm_read_header’:
libavformat/ffmdec.c:550:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         codec = st->codec;
         ^
libavformat/ffmdec.c:597:13: warning: ‘rc_eq’ is deprecated (declared at ./libavcodec/avcodec.h:2640) [-Wdeprecated-declarations]
             codec->rc_eq = av_strdup(rc_eq_buf);
             ^
libavformat/ffmdec.c:608:13: warning: ‘mpeg_quant’ is deprecated (declared at ./libavcodec/avcodec.h:1976) [-Wdeprecated-declarations]
             codec->mpeg_quant = avio_rb32(pb);
             ^
libavformat/ffmdec.c:610:13: warning: ‘me_method’ is deprecated (declared at ./libavcodec/avcodec.h:1884) [-Wdeprecated-declarations]
             codec->me_method = avio_rb32(pb);
             ^
libavformat/ffmdec.c:613:13: warning: ‘frame_skip_cmp’ is deprecated (declared at ./libavcodec/avcodec.h:2739) [-Wdeprecated-declarations]
             codec->frame_skip_cmp = avio_rb32(pb);
             ^
libavformat/ffmdec.c:614:13: warning: ‘rc_buffer_aggressivity’ is deprecated (declared at ./libavcodec/avcodec.h:2662) [-Wdeprecated-declarations]
             codec->rc_buffer_aggressivity = av_int2double(avio_rb64(pb));
             ^
libavformat/ffmdec.c:617:13: warning: ‘coder_type’ is deprecated (declared at ./libavcodec/avcodec.h:2701) [-Wdeprecated-declarations]
             codec->coder_type = avio_rb32(pb);
             ^
libavformat/ffmdec.c:622:13: warning: ‘scenechange_threshold’ is deprecated (declared at ./libavcodec/avcodec.h:2233) [-Wdeprecated-declarations]
             codec->scenechange_threshold = avio_rb32(pb);
             ^
libavformat/ffmdec.c:623:13: warning: ‘b_frame_strategy’ is deprecated (declared at ./libavcodec/avcodec.h:1955) [-Wdeprecated-declarations]
             codec->b_frame_strategy = avio_rb32(pb);
             ^
libavformat/ffmenc.c: In function ‘ffm_write_header’:
libavformat/ffmenc.c:246:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         bit_rate += st->codec->bit_rate;
         ^
libavformat/ffmenc.c:259:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         codec = st->codec;
         ^
libavformat/img2enc.c: In function ‘write_packet’:
libavformat/img2enc.c:161:13: warning: ‘av_dup_packet’ is deprecated (declared at ./libavcodec/avcodec.h:4391) [-Wdeprecated-declarations]
             (ret = av_dup_packet(&pkt2))                                  < 0 ||
             ^
libavformat/isom.c: In function ‘ff_mp4_read_dec_config_descr’:
libavformat/isom.c:482:14: warning: variable ‘v’ set but not used [-Wunused-but-set-variable]
     unsigned v;
              ^
libavformat/movenc.c: In function ‘mov_flush_fragment’:
libavformat/movenc.c:865:8: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]
     if (cluster_idx >= track->entry)
        ^
libavformat/rtpdec_mpeg4.c: In function ‘parse_fmtp’:
libavformat/rtpdec_mpeg4.c:281:38: warning: passing argument 2 of ‘parse_fmtp_config’ discards ‘const’ qualifier from pointer target type
         res = parse_fmtp_config(par, value);
                                      ^
libavformat/rtpdec_mpeg4.c:100:12: note: expected ‘char *’ but argument is of type ‘const char *’
 static int parse_fmtp_config(AVCodecParameters *par, char *value)
            ^
libavformat/sdp.c: In function ‘sdp_write_media_attributes’:
libavformat/sdp.c:692:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             if (st->codec) {
             ^
libavformat/sdp.c:696:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 if (st->codec->flags & AV_CODEC_FLAG_QSCALE)
                 ^
libavformat/sdp.c:698:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 else if (!av_opt_get_int(st->codec, "vad", AV_OPT_FLAG_ENCODING_PARAM, &vad_option) && vad_option)
                 ^
libavformat/tee.c: In function ‘parse_bsfs’:
libavformat/tee.c:124:9: warning: ‘av_bitstream_filter_init’ is deprecated (declared at ./libavcodec/avcodec.h:5782) [-Wdeprecated-declarations]
         AVBitStreamFilterContext *bsf = av_bitstream_filter_init(bsf_name);
         ^
libavformat/tee.c: In function ‘close_slave’:
libavformat/tee.c:182:17: warning: ‘av_bitstream_filter_close’ is deprecated (declared at ./libavcodec/avcodec.h:5826) [-Wdeprecated-declarations]
                 av_bitstream_filter_close(bsf);
                 ^
libavformat/tee.c: In function ‘tee_write_packet’:
libavformat/tee.c:549:9: warning: ‘av_apply_bitstream_filters’ is deprecated (declared at libavformat/avformat.h:2878) [-Wdeprecated-declarations]
         if ((ret = av_apply_bitstream_filters(avf2->streams[s2]->codec, &pkt2,
         ^
libavformat/tee.c:549:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
In file included from ./libavutil/libm.h:29:0,
                 from libavcodec/aacps_tablegen.h:35,
                 from libavcodec/aacps_tablegen_template.c:38,
                 from libavcodec/aacps_tablegen.c:24:
./config.h:525:0: warning: "CONFIG_HARDCODED_TABLES" redefined
 #define CONFIG_HARDCODED_TABLES 1
 ^
In file included from libavcodec/aacps_tablegen.c:24:0:
libavcodec/aacps_tablegen_template.c:24:0: note: this is the location of the previous definition
 #define CONFIG_HARDCODED_TABLES 0
 ^
libavcodec/avrndec.c: In function ‘decode_frame’:
libavcodec/avrndec.c:110:9: warning: ‘avcodec_decode_video2’ is deprecated (declared at libavcodec/avcodec.h:4753) [-Wdeprecated-declarations]
         ret = avcodec_decode_video2(a->mjpeg_avctx, data, got_frame, avpkt);
         ^
libavcodec/bitstream_filter.c: In function ‘av_bitstream_filter_next’:
libavcodec/bitstream_filter.c:40:5: warning: return discards ‘const’ qualifier from pointer target type
     return av_bsf_next(&opaque);
     ^
libavcodec/bitstream_filter.c: In function ‘av_bitstream_filter_init’:
libavcodec/bitstream_filter.c:71:20: warning: assignment discards ‘const’ qualifier from pointer target type
     ctx->filter    = bsf;
                    ^
libavcodec/bitstream_filter.c: In function ‘av_bitstream_filter_filter’:
libavcodec/bitstream_filter.c:133:14: warning: assignment discards ‘const’ qualifier from pointer target type
     pkt.data = buf;
              ^
libavcodec/frame_thread_encoder.c: In function ‘worker’:
libavcodec/frame_thread_encoder.c:86:9: warning: ‘avcodec_encode_video2’ is deprecated (declared at libavcodec/avcodec.h:5261) [-Wdeprecated-declarations]
         ret = avcodec_encode_video2(avctx, pkt, frame, &got_packet);
         ^
libavcodec/frame_thread_encoder.c:92:13: warning: ‘av_dup_packet’ is deprecated (declared at libavcodec/avcodec.h:4391) [-Wdeprecated-declarations]
             int ret2 = av_dup_packet(pkt);
             ^
libavcodec/h264_slice.c: In function ‘ff_h264_decode_slice_header’:
libavcodec/h264_slice.c:1188:19: warning: assignment discards ‘const’ qualifier from pointer target type
         h->ps.sps = (const SPS*)h->ps.sps_ref->data;
                   ^
libavcodec/mpegvideo_enc.c: In function ‘encode_frame’:
libavcodec/mpegvideo_enc.c:1400:5: warning: ‘avcodec_encode_video2’ is deprecated (declared at libavcodec/avcodec.h:5261) [-Wdeprecated-declarations]
     ret = avcodec_encode_video2(c, &pkt, frame, &got_output);
     ^
libavcodec/smvjpegdec.c: In function ‘smvjpeg_decode_frame’:
libavcodec/smvjpegdec.c:158:9: warning: ‘avcodec_decode_video2’ is deprecated (declared at libavcodec/avcodec.h:4753) [-Wdeprecated-declarations]
         ret = avcodec_decode_video2(s->avctx, mjpeg_data, &s->mjpeg_data_size, avpkt);
         ^
libavcodec/snowenc.c: In function ‘encode_frame’:
libavcodec/snowenc.c:1646:5: warning: ‘coded_frame’ is deprecated (declared at libavcodec/avcodec.h:3070) [-Wdeprecated-declarations]
     av_frame_unref(avctx->coded_frame);
     ^
libavcodec/snowenc.c:1647:5: warning: ‘coded_frame’ is deprecated (declared at libavcodec/avcodec.h:3070) [-Wdeprecated-declarations]
     ret = av_frame_ref(avctx->coded_frame, s->current_picture);
     ^
libavcodec/snowenc.c:1677:9: warning: ‘me_method’ is deprecated (declared at libavcodec/avcodec.h:1884) [-Wdeprecated-declarations]
         s->m.me_method= s->avctx->me_method;
         ^
libavcodec/snowenc.c:1879:5: warning: ‘frame_bits’ is deprecated (declared at libavcodec/avcodec.h:2809) [-Wdeprecated-declarations]
     avctx->frame_bits = s->m.frame_bits;
     ^
libavcodec/snowenc.c:1880:5: warning: ‘mv_bits’ is deprecated (declared at libavcodec/avcodec.h:2791) [-Wdeprecated-declarations]
     avctx->mv_bits = s->m.mv_bits;
     ^
libavcodec/snowenc.c:1881:5: warning: ‘misc_bits’ is deprecated (declared at libavcodec/avcodec.h:2805) [-Wdeprecated-declarations]
     avctx->misc_bits = s->m.misc_bits;
     ^
libavcodec/snowenc.c:1882:5: warning: ‘p_tex_bits’ is deprecated (declared at libavcodec/avcodec.h:2797) [-Wdeprecated-declarations]
     avctx->p_tex_bits = s->m.p_tex_bits;
     ^
libavcodec/tdsc.c: In function ‘tdsc_decode_jpeg_tile’:
libavcodec/tdsc.c:354:5: warning: ‘avcodec_decode_video2’ is deprecated (declared at libavcodec/avcodec.h:4753) [-Wdeprecated-declarations]
     ret = avcodec_decode_video2(ctx->jpeg_avctx, ctx->jpgframe,
     ^
libavcodec/utils.c: In function ‘avcodec_encode_audio2’:
libavcodec/utils.c:1884:13: warning: ‘av_dup_packet’ is deprecated (declared at libavcodec/avcodec.h:4391) [-Wdeprecated-declarations]
             if (av_dup_packet(avpkt) < 0) {
             ^
libavcodec/utils.c: In function ‘avcodec_encode_video2’:
libavcodec/utils.c:1978:13: warning: ‘av_dup_packet’ is deprecated (declared at libavcodec/avcodec.h:4391) [-Wdeprecated-declarations]
             if (av_dup_packet(avpkt) < 0) {
             ^
libavcodec/utils.c: In function ‘avcodec_decode_video2’:
libavcodec/utils.c:2205:26: warning: assignment discards ‘const’ qualifier from pointer target type
     avctx->internal->pkt = avpkt;
                          ^
libavcodec/utils.c:2206:37: warning: passing argument 2 of ‘apply_param_change’ discards ‘const’ qualifier from pointer target type
     ret = apply_param_change(avctx, avpkt);
                                     ^
libavcodec/utils.c:2056:12: note: expected ‘struct AVPacket *’ but argument is of type ‘const struct AVPacket *’
 static int apply_param_change(AVCodecContext *avctx, AVPacket *avpkt)
            ^
libavcodec/utils.c: In function ‘do_decode’:
libavcodec/utils.c:2734:9: warning: ‘avcodec_decode_video2’ is deprecated (declared at libavcodec/utils.c:2180) [-Wdeprecated-declarations]
         ret = avcodec_decode_video2(avctx, avctx->internal->buffer_frame,
         ^
libavcodec/utils.c:2739:9: warning: ‘avcodec_decode_audio4’ is deprecated (declared at libavcodec/utils.c:2281) [-Wdeprecated-declarations]
         ret = avcodec_decode_audio4(avctx, avctx->internal->buffer_frame,
         ^
libavcodec/utils.c: In function ‘do_encode’:
libavcodec/utils.c:2875:9: warning: ‘avcodec_encode_video2’ is deprecated (declared at libavcodec/utils.c:1922) [-Wdeprecated-declarations]
         ret = avcodec_encode_video2(avctx, avctx->internal->buffer_pkt,
         ^
libavcodec/utils.c:2878:9: warning: ‘avcodec_encode_audio2’ is deprecated (declared at libavcodec/utils.c:1776) [-Wdeprecated-declarations]
         ret = avcodec_encode_audio2(avctx, avctx->internal->buffer_pkt,
         ^
ffmpeg_opt.c: In function ‘opt_map_channel’:
ffmpeg_opt.c:432:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     if (st->codec->codec_type != AVMEDIA_TYPE_AUDIO) {
     ^
ffmpeg_opt.c:437:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     if (m->channel_idx < 0 || m->channel_idx >= st->codec->channels) {
     ^
ffmpeg_opt.c: In function ‘choose_decoder’:
ffmpeg_opt.c:637:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         AVCodec *codec = find_codec_or_die(codec_name, st->codec->codec_type, 0);
         ^
ffmpeg_opt.c:638:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         st->codec->codec_id = codec->id;
         ^
ffmpeg_opt.c:641:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         return avcodec_find_decoder(st->codec->codec_id);
         ^
ffmpeg_opt.c: In function ‘add_input_streams’:
ffmpeg_opt.c:652:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         AVCodecContext *dec = st->codec;
         ^
ffmpeg_opt.c:686:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             st->codec->codec_tag = tag;
             ^
ffmpeg_opt.c:690:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         ist->decoder_opts = filter_codec_opts(o->g->codec_opts, ist->st->codec->codec_id, ic, st, ist->dec);
         ^
ffmpeg_opt.c:711:9: warning: ‘avcodec_copy_context’ is deprecated (declared at libavcodec/avcodec.h:4182) [-Wdeprecated-declarations]
         ret = avcodec_copy_context(ist->dec_ctx, dec);
         ^
ffmpeg_opt.c: In function ‘dump_attachment’:
ffmpeg_opt.c:860:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     if (!st->codec->extradata_size) {
     ^
ffmpeg_opt.c:881:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     avio_write(out, st->codec->extradata, st->codec->extradata_size);
     ^
ffmpeg_opt.c:881:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
ffmpeg_opt.c: In function ‘open_input_file’:
ffmpeg_opt.c:1029:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 AVCodecContext *avctx = ic->streams[i]->codec;
                 ^
ffmpeg_opt.c: In function ‘choose_encoder’:
ffmpeg_opt.c:1181:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         ost->st->codec->codec_id = av_guess_codec(s->oformat, NULL, s->filename,
         ^
ffmpeg_opt.c:1182:51: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                                                   NULL, ost->st->codec->codec_type);
                                                   ^
ffmpeg_opt.c:1183:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         ost->enc = avcodec_find_encoder(ost->st->codec->codec_id);
         ^
ffmpeg_opt.c:1187:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         ost->enc = find_codec_or_die(codec_name, ost->st->codec->codec_type, 1);
         ^
ffmpeg_opt.c:1188:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         ost->st->codec->codec_id = ost->enc->id;
         ^
ffmpeg_opt.c: In function ‘new_output_stream’:
ffmpeg_opt.c:1218:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     st->codec->codec_type = type;
     ^
ffmpeg_opt.c:1282:9: warning: ‘av_bitstream_filter_init’ is deprecated (declared at libavcodec/avcodec.h:5782) [-Wdeprecated-declarations]
         if (!(bsfc = av_bitstream_filter_init(bsf))) {
         ^
ffmpeg_opt.c:1305:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         ost->st->codec->codec_tag =
         ^
ffmpeg_opt.c: In function ‘get_ost_filters’:
ffmpeg_opt.c:1402:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     return av_strdup(st->codec->codec_type == AVMEDIA_TYPE_VIDEO ?
     ^
ffmpeg_opt.c: In function ‘read_ffserver_streams’:
ffmpeg_opt.c:1834:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         codec = avcodec_find_encoder(ic->streams[i]->codec->codec_id);
         ^
ffmpeg_opt.c:1836:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             av_log(s, AV_LOG_ERROR, "no encoder found for codec id %i\n", ic->streams[i]->codec->codec_id);
             ^
ffmpeg_opt.c:1846:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         avcodec_get_context_defaults3(st->codec, codec);
         ^
ffmpeg_opt.c:1851:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             av_opt_set_dict2(st->codec, &opts, AV_OPT_SEARCH_CHILDREN);
             ^
ffmpeg_opt.c:1855:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         if (st->codec->codec_type == AVMEDIA_TYPE_AUDIO && !ost->stream_copy)
         ^
ffmpeg_opt.c:1857:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         else if (st->codec->codec_type == AVMEDIA_TYPE_VIDEO && !ost->stream_copy)
         ^
ffmpeg_opt.c:1858:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             choose_pixel_fmt(st, st->codec, codec, st->codec->pix_fmt);
             ^
ffmpeg_opt.c:1858:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
ffmpeg_opt.c:1859:9: warning: ‘avcodec_copy_context’ is deprecated (declared at libavcodec/avcodec.h:4182) [-Wdeprecated-declarations]
         avcodec_copy_context(ost->enc_ctx, st->codec);
         ^
ffmpeg_opt.c:1859:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
ffmpeg_opt.c: In function ‘open_output_file’:
ffmpeg_opt.c:2030:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 if(ist->st->codec->codec_type == ost->st->codec->codec_type){
                 ^
ffmpeg_opt.c:2030:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
ffmpeg_opt.c:2033:21: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                     if(ost->st->codec->codec_type == AVMEDIA_TYPE_AUDIO) ost->avfilter = av_strdup("anull");
                     ^
ffmpeg_opt.c:2034:21: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                     if(ost->st->codec->codec_type == AVMEDIA_TYPE_VIDEO) ost->avfilter = av_strdup("null");
                     ^
ffmpeg_opt.c:2041:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 av_log(NULL, AV_LOG_FATAL, "Missing %s stream which is required by this ffm\n", av_get_media_type_string(ost->st->codec->codec_type));
                 ^
ffmpeg_opt.c:2056:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 new_area = ist->st->codec->width * ist->st->codec->height + 100000000*!!ist->st->codec_info_nb_frames;
                 ^
ffmpeg_opt.c:2056:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
ffmpeg_opt.c:2059:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 if (ist->st->codec->codec_type == AVMEDIA_TYPE_VIDEO &&
                 ^
ffmpeg_opt.c:2077:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 score = ist->st->codec->channels + 100000000*!!ist->st->codec_info_nb_frames;
                 ^
ffmpeg_opt.c:2078:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 if (ist->st->codec->codec_type == AVMEDIA_TYPE_AUDIO &&
                 ^
ffmpeg_opt.c:2092:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 if (input_streams[i]->st->codec->codec_type == AVMEDIA_TYPE_SUBTITLE) {
                 ^
ffmpeg_opt.c:2094:25: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                         avcodec_descriptor_get(input_streams[i]->st->codec->codec_id);
                         ^
ffmpeg_opt.c:2120:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 if (input_streams[i]->st->codec->codec_type == AVMEDIA_TYPE_DATA
                 ^
ffmpeg_opt.c:2121:21: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                     && input_streams[i]->st->codec->codec_id == codec_id )
                     ^
ffmpeg_opt.c:2158:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 if(o->subtitle_disable && ist->st->codec->codec_type == AVMEDIA_TYPE_SUBTITLE)
                 ^
ffmpeg_opt.c:2160:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 if(o->   audio_disable && ist->st->codec->codec_type == AVMEDIA_TYPE_AUDIO)
                 ^
ffmpeg_opt.c:2162:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 if(o->   video_disable && ist->st->codec->codec_type == AVMEDIA_TYPE_VIDEO)
                 ^
ffmpeg_opt.c:2164:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 if(o->    data_disable && ist->st->codec->codec_type == AVMEDIA_TYPE_DATA)
                 ^
ffmpeg_opt.c:2168:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 switch (ist->st->codec->codec_type) {
                 ^
ffmpeg_opt.c:2226:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         ost->st->codec->extradata      = attachment;
         ^
ffmpeg_opt.c:2227:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         ost->st->codec->extradata_size = len;
         ^
ffmpeg_opt.c:2241:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             if (av_opt_set(ost->st->codec, "flags", e->value, 0) < 0)
             ^
ffmpeg_opt.c: In function ‘opt_target’:
ffmpeg_opt.c:2538:21: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                     AVCodecContext *c = input_files[j]->ctx->streams[i]->codec;
                     ^
ffmpeg_filter.c: In function ‘choose_sample_fmt’:
ffmpeg_filter.c:97:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             if (*p == st->codec->sample_fmt)
             ^
ffmpeg_filter.c:101:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             if((codec->capabilities & AV_CODEC_CAP_LOSSLESS) && av_get_sample_fmt_name(st->codec->sample_fmt) > av_get_sample_fmt_name(codec->sample_fmts[0]))
             ^
ffmpeg_filter.c:103:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             if(av_get_sample_fmt_name(st->codec->sample_fmt))
             ^
ffmpeg_filter.c:106:20: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                    av_get_sample_fmt_name(st->codec->sample_fmt),
                    ^
ffmpeg_filter.c:109:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             st->codec->sample_fmt = codec->sample_fmts[0];
             ^
ffmpeg_filter.c: In function ‘init_input_filter’:
ffmpeg_filter.c:254:18: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             enum AVMediaType stream_type = s->streams[i]->codec->codec_type;
                  ^
ffmpeg_filter.c: In function ‘configure_output_audio_filter’:
ffmpeg_filter.c:614:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             if (of->ctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO)
             ^
ffmpeg_filter.c: In function ‘sub2video_prepare’:
ffmpeg_filter.c:682:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             if (avf->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) {
             ^
ffmpeg_filter.c:683:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 w = FFMAX(w, avf->streams[i]->codec->width);
                 ^
ffmpeg_filter.c:683:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
ffmpeg_filter.c:684:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 h = FFMAX(h, avf->streams[i]->codec->height);
                 ^
ffmpeg_filter.c:684:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
ffmpeg_filter.c: In function ‘configure_filtergraph’:
ffmpeg_filter.c:1084:22: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                      avcodec_get_name(ost->st->codec->codec_id), ost->file_index, ost->index);
                      ^
ffprobe.c: In function ‘show_packet’:
ffprobe.c:1813:5: warning: ‘convergence_duration’ is deprecated (declared at ./libavcodec/avcodec.h:1609) [-Wdeprecated-declarations]
     print_duration_ts("convergence_duration", pkt->convergence_duration);
     ^
ffprobe.c:1814:5: warning: ‘convergence_duration’ is deprecated (declared at ./libavcodec/avcodec.h:1609) [-Wdeprecated-declarations]
     print_duration_time("convergence_duration_time", pkt->convergence_duration, &st->time_base);
     ^
ffprobe.c: In function ‘process_frame’:
ffprobe.c:1981:13: warning: ‘avcodec_decode_video2’ is deprecated (declared at ./libavcodec/avcodec.h:4753) [-Wdeprecated-declarations]
             ret = avcodec_decode_video2(dec_ctx, frame, &got_frame, pkt);
             ^
ffprobe.c:1985:13: warning: ‘avcodec_decode_audio4’ is deprecated (declared at ./libavcodec/avcodec.h:4704) [-Wdeprecated-declarations]
             ret = avcodec_decode_audio4(dec_ctx, frame, &got_frame, pkt);
             ^
ffprobe.c: In function ‘show_stream’:
ffprobe.c:2271:9: warning: ‘timecode_frame_start’ is deprecated (declared at ./libavcodec/avcodec.h:2760) [-Wdeprecated-declarations]
         if (dec_ctx && dec_ctx->timecode_frame_start >= 0) {
         ^
ffprobe.c:2273:13: warning: ‘timecode_frame_start’ is deprecated (declared at ./libavcodec/avcodec.h:2760) [-Wdeprecated-declarations]
             av_timecode_make_mpeg_tc_string(tcbuf, dec_ctx->timecode_frame_start);
             ^
ffprobe.c:2337:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     if (stream->codec->rc_max_rate > 0) print_val ("max_bit_rate", stream->codec->rc_max_rate, unit_bit_per_second_str);
     ^
ffprobe.c:1728:12: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     struct unit_value uv;                                           \
            ^
ffprobe.c:2337:41: note: in expansion of macro ‘print_val’
     if (stream->codec->rc_max_rate > 0) print_val ("max_bit_rate", stream->codec->rc_max_rate, unit_bit_per_second_str);
                                         ^
ffprobe.c: In function ‘open_input_file’:
ffprobe.c:2615:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             ist->dec_ctx->time_base = stream->codec->time_base;
             ^
ffprobe.c:2616:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             ist->dec_ctx->framerate = stream->codec->framerate;
             ^
cmdutils.c: In function ‘show_bsfs’:
cmdutils.c:1573:5: warning: ‘av_bitstream_filter_next’ is deprecated (declared at ./libavcodec/avcodec.h:5837) [-Wdeprecated-declarations]
     while ((bsf = av_bitstream_filter_next(bsf)))
     ^
cmdutils.c: In function ‘filter_codec_opts’:
cmdutils.c:1984:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     switch (st->codec->codec_type) {
     ^
cmdutils.c: In function ‘setup_find_stream_info_opts’:
cmdutils.c:2042:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         opts[i] = filter_codec_opts(codec_opts, s->streams[i]->codec->codec_id,
         ^
ffmpeg.c: In function ‘ffmpeg_cleanup’:
ffmpeg.c:513:13: warning: ‘av_bitstream_filter_close’ is deprecated (declared at ./libavcodec/avcodec.h:5826) [-Wdeprecated-declarations]
             av_bitstream_filter_close(bsfc);
             ^
ffmpeg.c: In function ‘write_frame’:
ffmpeg.c:638:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     AVCodecContext          *avctx = ost->encoding_needed ? ost->enc_ctx : ost->st->codec;
     ^
ffmpeg.c:641:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     if (!ost->st->codec->extradata_size && ost->enc_ctx->extradata_size) {
     ^
ffmpeg.c:642:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         ost->st->codec->extradata = av_mallocz(ost->enc_ctx->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE);
         ^
ffmpeg.c:643:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         if (ost->st->codec->extradata) {
         ^
ffmpeg.c:644:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             memcpy(ost->st->codec->extradata, ost->enc_ctx->extradata, ost->enc_ctx->extradata_size);
             ^
ffmpeg.c:645:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             ost->st->codec->extradata_size = ost->enc_ctx->extradata_size;
             ^
ffmpeg.c:692:5: warning: ‘av_apply_bitstream_filters’ is deprecated (declared at libavformat/avformat.h:2878) [-Wdeprecated-declarations]
     if ((ret = av_apply_bitstream_filters(avctx, pkt, bsfc)) < 0) {
     ^
ffmpeg.c: In function ‘do_audio_out’:
ffmpeg.c:824:5: warning: ‘avcodec_encode_audio2’ is deprecated (declared at ./libavcodec/avcodec.h:5222) [-Wdeprecated-declarations]
     if (avcodec_encode_audio2(enc, &pkt, frame, &got_packet) < 0) {
     ^
ffmpeg.c: In function ‘do_video_out’:
ffmpeg.c:936:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     AVCodecContext *mux_enc = ost->st->codec;
     ^
ffmpeg.c:1176:9: warning: ‘avcodec_encode_video2’ is deprecated (declared at ./libavcodec/avcodec.h:5261) [-Wdeprecated-declarations]
         ret = avcodec_encode_video2(enc, &pkt, in_picture, &got_packet);
         ^
ffmpeg.c: In function ‘flush_encoders’:
ffmpeg.c:1725:17: warning: ‘avcodec_encode_audio2’ is deprecated (declared at ./libavcodec/avcodec.h:5222) [-Wdeprecated-declarations]
                 encode = avcodec_encode_audio2;
                 ^
ffmpeg.c:1729:17: warning: ‘avcodec_encode_video2’ is deprecated (declared at ./libavcodec/avcodec.h:5261) [-Wdeprecated-declarations]
                 encode = avcodec_encode_video2;
                 ^
ffmpeg.c: In function ‘do_streamcopy’:
ffmpeg.c:1854:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     if (ost->st->codec->codec_type == AVMEDIA_TYPE_AUDIO && pkt->dts != AV_NOPTS_VALUE) {
     ^
ffmpeg.c:1866:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     if (  ost->st->codec->codec_id != AV_CODEC_ID_H264
     ^
ffmpeg.c:1867:8: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
        && ost->st->codec->codec_id != AV_CODEC_ID_MPEG1VIDEO
        ^
ffmpeg.c:1868:8: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
        && ost->st->codec->codec_id != AV_CODEC_ID_MPEG2VIDEO
        ^
ffmpeg.c:1869:8: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
        && ost->st->codec->codec_id != AV_CODEC_ID_VC1
        ^
ffmpeg.c:1871:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         int ret = av_parser_change(ost->parser, ost->st->codec,
         ^
ffmpeg.c:1892:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     if (ost->st->codec->codec_type == AVMEDIA_TYPE_VIDEO &&
     ^
ffmpeg.c:1893:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         ost->st->codec->codec_id == AV_CODEC_ID_RAWVIDEO &&
         ^
ffmpeg.c:1896:9: warning: ‘avpicture_fill’ is deprecated (declared at ./libavcodec/avcodec.h:5391) [-Wdeprecated-declarations]
         int ret = avpicture_fill(&pict, opkt.data, ost->st->codec->pix_fmt, ost->st->codec->width, ost->st->codec->height);
         ^
ffmpeg.c:1896:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
ffmpeg.c:1896:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
ffmpeg.c:1896:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
ffmpeg.c: In function ‘decode_audio’:
ffmpeg.c:1961:5: warning: ‘avcodec_decode_audio4’ is deprecated (declared at ./libavcodec/avcodec.h:4704) [-Wdeprecated-declarations]
     ret = avcodec_decode_audio4(avctx, decoded_frame, got_output, pkt);
     ^
ffmpeg.c: In function ‘decode_video’:
ffmpeg.c:2087:5: warning: ‘avcodec_decode_video2’ is deprecated (declared at ./libavcodec/avcodec.h:4753) [-Wdeprecated-declarations]
     ret = avcodec_decode_video2(ist->dec_ctx,
     ^
ffmpeg.c:2093:5: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
     if (ist->st->codec->has_b_frames < ist->dec_ctx->has_b_frames) {
     ^
ffmpeg.c:2095:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             ist->st->codec->has_b_frames = ist->dec_ctx->has_b_frames;
             ^
ffmpeg.c:2103:20: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                    ist->st->codec->has_b_frames);
                    ^
ffmpeg.c: In function ‘init_output_stream’:
ffmpeg.c:2648:9: warning: ‘avcodec_copy_context’ is deprecated (declared at ./libavcodec/avcodec.h:4182) [-Wdeprecated-declarations]
         ret = avcodec_copy_context(ost->st->codec, ost->enc_ctx);
         ^
ffmpeg.c:2648:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
ffmpeg.c:2679:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         ost->st->codec->codec= ost->enc_ctx->codec;
         ^
ffmpeg.c:2681:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         ret = av_opt_set_dict(ost->st->codec, &ost->encoder_opts);
         ^
ffmpeg.c:2688:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         ost->st->time_base = av_add_q(ost->st->codec->time_base, (AVRational){0, 1});
         ^
ffmpeg.c: In function ‘report_new_stream’:
ffmpeg.c:2766:12: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
            av_get_media_type_string(st->codec->codec_type),
            ^
ffmpeg.c: In function ‘transcode_init’:
ffmpeg.c:2856:9: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
         enc_ctx = ost->stream_copy ? ost->st->codec : ost->enc_ctx;
         ^
ffmpeg.c:2867:17: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                 if (st != ost->st && st->codec->codec_type == enc_ctx->codec_type)
                 ^
ffmpeg.c:3054:26: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                          avcodec_get_name(ost->st->codec->codec_id), ost->file_index, ost->index);
                          ^
ffmpeg.c:3187:21: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                     enc_ctx->width     = input_streams[ost->source_index]->st->codec->width;
                     ^
ffmpeg.c:3188:21: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
                     enc_ctx->height    = input_streams[ost->source_index]->st->codec->height;
                     ^
ffmpeg.c: In function ‘check_keyboard_interaction’:
ffmpeg.c:3520:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             debug = input_streams[0]->st->codec->debug<<1;
             ^
ffmpeg.c:3539:13: warning: ‘codec’ is deprecated (declared at libavformat/avformat.h:880) [-Wdeprecated-declarations]
             input_streams[i]->st->codec->debug = debug;
             ^
ffmpeg.c: In function ‘sub2video_push_ref’:
ffmpeg.c:220:9: warning: ignoring return value of ‘av_buffersrc_add_frame_flags’, declared with attribute warn_unused_result [-Wunused-result]
         av_buffersrc_add_frame_flags(ist->filters[i]->filter, frame,
         ^
ffmpeg.c: In function ‘sub2video_flush’:
ffmpeg.c:295:9: warning: ignoring return value of ‘av_buffersrc_add_frame’, declared with attribute warn_unused_result [-Wunused-result]
         av_buffersrc_add_frame(ist->filters[i]->filter, NULL);
         ^
libavcodec/dvenc.c: In function ‘dv_encode_video_segment’:
libavcodec/dvenc.c:377:81: warning: array subscript is above array bounds [-Warray-bounds]
                                     for (a2 = a + 1; b->next[k] >= mb_area_start[a2 + 1]; a2++)
                                                                                 ^
