1 diff -urN a/libavcodec/avcodec.h b/libavcodec/avcodec.h
2 --- a/libavcodec/avcodec.h 2017-04-12 19:55:55.000000000 -0600
3 +++ b/libavcodec/avcodec.h 2017-04-16 16:16:04.497012383 -0600
6 int av_packet_merge_side_data(AVPacket *pkt);
9 +//attribute_deprecated
10 int av_packet_split_side_data(AVPacket *pkt);
15 * @deprecated Use avcodec_send_packet() and avcodec_receive_frame().
18 +//attribute_deprecated
19 int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
20 int *got_frame_ptr, const AVPacket *avpkt);
24 * @deprecated Use avcodec_send_packet() and avcodec_receive_frame().
27 +//attribute_deprecated
28 int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
30 const AVPacket *avpkt);
33 * @deprecated use avcodec_send_frame()/avcodec_receive_packet() instead
36 +//attribute_deprecated
37 int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
38 const AVFrame *frame, int *got_packet_ptr);
42 * @deprecated use avcodec_send_frame()/avcodec_receive_packet() instead
45 +//attribute_deprecated
46 int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
47 const AVFrame *frame, int *got_packet_ptr);
50 * @return a bitstream filter context if a matching filter was found
51 * and successfully initialized, NULL otherwise
54 +//attribute_deprecated
55 AVBitStreamFilterContext *av_bitstream_filter_init(const char *name);
59 * its starting address). A special case is if *poutbuf was set to NULL and
60 * *poutbuf_size was set to 0, which indicates the packet should be dropped.
63 +//attribute_deprecated
64 int av_bitstream_filter_filter(AVBitStreamFilterContext *bsfc,
65 AVCodecContext *avctx, const char *args,
66 uint8_t **poutbuf, int *poutbuf_size,
68 * @param bsf the bitstream filter context created with
69 * av_bitstream_filter_init(), can be NULL
72 +//attribute_deprecated
73 void av_bitstream_filter_close(AVBitStreamFilterContext *bsf);
76 diff -urN a/libavformat/avformat.h b/libavformat/avformat.h
77 --- a/libavformat/avformat.h 2017-04-12 19:55:55.000000000 -0600
78 +++ b/libavformat/avformat.h 2017-04-16 16:16:04.499012276 -0600
81 * @deprecated use the codecpar struct instead
83 - attribute_deprecated
84 +// attribute_deprecated
85 AVCodecContext *codec;