libavfilter/avfiltergraph.c: In function 'avfilter_graph_free':
libavfilter/avfiltergraph.c:135:5: warning: 'resample_lavr_opts' is deprecated [-Wdeprecated-declarations]
     av_freep(&(*graph)->resample_lavr_opts)
     ^
In file included from libavfilter/avfiltergraph.c:39:0:
libavfilter/avfilter.h:857:32: note: declared here
     attribute_deprecated char *resample_lavr_opts   ///< libavresample options to use for the auto-inserted resample filters
                                ^
libavfilter/vf_mcdeint.c: In function 'filter_frame':
libavfilter/vf_mcdeint.c:189:5: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations]
     ret = avcodec_encode_video2(mcdeint->enc_ctx, &pkt, inpic, &got_frame)
     ^
In file included from libavfilter/vf_mcdeint.c:54:0:
./libavcodec/avcodec.h:3680:5: note: declared here
 int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
     ^
libavfilter/vf_mcdeint.c:193:5: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations]
     frame_dec = mcdeint->enc_ctx->coded_frame
     ^
In file included from libavfilter/vf_mcdeint.c:54:0:
./libavcodec/avcodec.h:1759:35: note: declared here
     attribute_deprecated AVFrame *coded_frame
                                   ^
libavfilter/vf_uspp.c: In function 'filter':
libavfilter/vf_uspp.c:255:9: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations]
         ret = avcodec_encode_video2(p->avctx_enc[i], &pkt, p->frame, &got_pkt_ptr)
         ^
In file included from libavfilter/internal.h:35:0,
                 from libavfilter/vf_uspp.c:35:
./libavcodec/avcodec.h:3680:5: note: declared here
 int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
     ^
libavfilter/vf_uspp.c:261:9: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations]
         p->frame_dec = p->avctx_enc[i]->coded_frame
         ^
In file included from libavfilter/internal.h:35:0,
                 from libavfilter/vf_uspp.c:35:
./libavcodec/avcodec.h:1759:35: note: declared here
     attribute_deprecated AVFrame *coded_frame
                                   ^
In file included from libavformat/fitsdec.c:27:0:
libavformat/fitsdec.c: In function 'fits_read_packet':
libavformat/fitsdec.c:177:26: warning: comparison is always true due to limited range of data type [-Wtype-limits]
     av_assert0(avbuf.len <= INT64_MAX && size <= INT64_MAX)
                          ^
./libavutil/avassert.h:38:11: note: in definition of macro 'av_assert0'
     if (!(cond)) {                                                      \
           ^
libavformat/protocols.c: In function 'avio_enum_protocols':
libavformat/protocols.c:116:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     p = p ? p + 1 : url_protocols
       ^
libavcodec/pcm-dvd.c: In function 'pcm_dvd_decode_samples':
libavcodec/pcm-dvd.c:155:37: warning: passing argument 2 of 'bytestream2_get_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
         bytestream2_get_buffer(&gb, dst16, blocks * s->block_size)
                                     ^
In file included from libavcodec/pcm-dvd.c:28:0:
libavcodec/bytestream.h:267:38: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int16_t * {aka short int *}'
 static av_always_inline unsigned int bytestream2_get_buffer(GetByteContext *g,
                                      ^
libavcodec/pcm-bluray.c: In function 'pcm_bluray_decode_frame':
libavcodec/pcm-bluray.c:172:45: warning: passing argument 2 of 'bytestream2_get_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
                 bytestream2_get_buffer(&gb, dst16, buf_size)
                                             ^
In file included from libavcodec/pcm-bluray.c:29:0:
libavcodec/bytestream.h:267:38: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int16_t * {aka short int *}'
 static av_always_inline unsigned int bytestream2_get_buffer(GetByteContext *g,
                                      ^
libavcodec/pcm-bluray.c:192:49: warning: passing argument 2 of 'bytestream2_get_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
                     bytestream2_get_buffer(&gb, dst16, avctx->channels * 2)
                                                 ^
In file included from libavcodec/pcm-bluray.c:29:0:
libavcodec/bytestream.h:267:38: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int16_t * {aka short int *}'
 static av_always_inline unsigned int bytestream2_get_buffer(GetByteContext *g,
                                      ^
libavcodec/v4l2_m2m_enc.c: In function 'v4l2_set_ext_ctrl':
libavcodec/v4l2_m2m_enc.c:55:12: warning: braces around scalar initializer
     struct v4l2_ext_controls ctrls = { { 0 } }
            ^
libavcodec/v4l2_m2m_enc.c:55:12: note: (near initialization for 'ctrls.ctrl_class')
libavcodec/v4l2_m2m_enc.c: In function 'v4l2_get_ext_ctrl':
libavcodec/v4l2_m2m_enc.c:76:12: warning: braces around scalar initializer
     struct v4l2_ext_controls ctrls = { { 0 } }
            ^
libavcodec/v4l2_m2m_enc.c:76:12: note: (near initialization for 'ctrls.ctrl_class')
libavutil/buffer.c:75:6: error: no previous prototype for 'av_buffer_external_free' [-Werror=missing-prototypes]
 void av_buffer_external_free(void *opaque, uint8_t *data)
      ^
cc1: some warnings being treated as errors
make: *** [libavutil/buffer.o] Error 1
make: *** Waiting for unfinished jobs....