diff -ur ffmpeg-3.1.1.orig/libavcodec/avcodec.h ffmpeg-3.1.1/libavcodec/avcodec.h --- ffmpeg-3.1.1.orig/libavcodec/avcodec.h 2016-06-26 17:54:28.000000000 -0600 +++ ffmpeg-3.1.1/libavcodec/avcodec.h 2016-07-08 09:32:20.040623502 -0600 @@ -4700,7 +4700,7 @@ * * @deprecated Use avcodec_send_packet() and avcodec_receive_frame(). */ -attribute_deprecated +//attribute_deprecated int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, const AVPacket *avpkt); @@ -4749,7 +4749,7 @@ * * @deprecated Use avcodec_send_packet() and avcodec_receive_frame(). */ -attribute_deprecated +//attribute_deprecated int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, int *got_picture_ptr, const AVPacket *avpkt); @@ -5218,7 +5218,7 @@ * * @deprecated use avcodec_send_frame()/avcodec_receive_packet() instead */ -attribute_deprecated +//attribute_deprecated int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr); @@ -5257,7 +5257,7 @@ * * @deprecated use avcodec_send_frame()/avcodec_receive_packet() instead */ -attribute_deprecated +//attribute_deprecated int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr); @@ -5778,7 +5778,7 @@ * @return a bitstream filter context if a matching filter was found * and successfully initialized, NULL otherwise */ -attribute_deprecated +//attribute_deprecated AVBitStreamFilterContext *av_bitstream_filter_init(const char *name); /** @@ -5810,7 +5810,7 @@ * its starting address). A special case is if *poutbuf was set to NULL and * *poutbuf_size was set to 0, which indicates the packet should be dropped. */ -attribute_deprecated +//attribute_deprecated int av_bitstream_filter_filter(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, @@ -5822,7 +5822,7 @@ * @param bsf the bitstream filter context created with * av_bitstream_filter_init(), can be NULL */ -attribute_deprecated +//attribute_deprecated void av_bitstream_filter_close(AVBitStreamFilterContext *bsf); /** diff -ur ffmpeg-3.1.1.orig/libavformat/avformat.h ffmpeg-3.1.1/libavformat/avformat.h --- ffmpeg-3.1.1.orig/libavformat/avformat.h 2016-06-30 19:00:55.000000000 -0600 +++ ffmpeg-3.1.1/libavformat/avformat.h 2016-07-08 09:33:16.610668989 -0600 @@ -876,7 +876,7 @@ /** * @deprecated use the codecpar struct instead */ - attribute_deprecated +// attribute_deprecated AVCodecContext *codec; #endif void *priv_data;