1 diff -ur ffmpeg-3.1.1.orig/libavcodec/avcodec.h ffmpeg-3.1.1/libavcodec/avcodec.h
2 --- ffmpeg-3.1.1.orig/libavcodec/avcodec.h 2016-06-26 17:54:28.000000000 -0600
3 +++ ffmpeg-3.1.1/libavcodec/avcodec.h 2016-07-08 09:32:20.040623502 -0600
6 * @deprecated Use avcodec_send_packet() and avcodec_receive_frame().
9 +//attribute_deprecated
10 int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
11 int *got_frame_ptr, const AVPacket *avpkt);
15 * @deprecated Use avcodec_send_packet() and avcodec_receive_frame().
18 +//attribute_deprecated
19 int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
21 const AVPacket *avpkt);
24 * @deprecated use avcodec_send_frame()/avcodec_receive_packet() instead
27 +//attribute_deprecated
28 int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
29 const AVFrame *frame, int *got_packet_ptr);
33 * @deprecated use avcodec_send_frame()/avcodec_receive_packet() instead
36 +//attribute_deprecated
37 int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
38 const AVFrame *frame, int *got_packet_ptr);
41 * @return a bitstream filter context if a matching filter was found
42 * and successfully initialized, NULL otherwise
45 +//attribute_deprecated
46 AVBitStreamFilterContext *av_bitstream_filter_init(const char *name);
50 * its starting address). A special case is if *poutbuf was set to NULL and
51 * *poutbuf_size was set to 0, which indicates the packet should be dropped.
54 +//attribute_deprecated
55 int av_bitstream_filter_filter(AVBitStreamFilterContext *bsfc,
56 AVCodecContext *avctx, const char *args,
57 uint8_t **poutbuf, int *poutbuf_size,
59 * @param bsf the bitstream filter context created with
60 * av_bitstream_filter_init(), can be NULL
63 +//attribute_deprecated
64 void av_bitstream_filter_close(AVBitStreamFilterContext *bsf);
67 diff -ur ffmpeg-3.1.1.orig/libavformat/avformat.h ffmpeg-3.1.1/libavformat/avformat.h
68 --- ffmpeg-3.1.1.orig/libavformat/avformat.h 2016-06-30 19:00:55.000000000 -0600
69 +++ ffmpeg-3.1.1/libavformat/avformat.h 2016-07-08 09:33:16.610668989 -0600
72 * @deprecated use the codecpar struct instead
74 - attribute_deprecated
75 +// attribute_deprecated
76 AVCodecContext *codec;