build fixes/upgrades, bd/ffmpeg/dialog tweaks
[goodguy/history.git] / cinelerra-5.1 / thirdparty / src / ffmpeg.patch3
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
4 @@ -4700,7 +4700,7 @@
5   *
6  * @deprecated Use avcodec_send_packet() and avcodec_receive_frame().
7   */
8 -attribute_deprecated
9 +//attribute_deprecated
10  int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
11                            int *got_frame_ptr, const AVPacket *avpkt);
12  
13 @@ -4749,7 +4749,7 @@
14   *
15   * @deprecated Use avcodec_send_packet() and avcodec_receive_frame().
16   */
17 -attribute_deprecated
18 +//attribute_deprecated
19  int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
20                           int *got_picture_ptr,
21                           const AVPacket *avpkt);
22 @@ -5218,7 +5218,7 @@
23   *
24   * @deprecated use avcodec_send_frame()/avcodec_receive_packet() instead
25   */
26 -attribute_deprecated
27 +//attribute_deprecated
28  int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
29                            const AVFrame *frame, int *got_packet_ptr);
30  
31 @@ -5257,7 +5257,7 @@
32   *
33   * @deprecated use avcodec_send_frame()/avcodec_receive_packet() instead
34   */
35 -attribute_deprecated
36 +//attribute_deprecated
37  int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
38                            const AVFrame *frame, int *got_packet_ptr);
39  
40 @@ -5778,7 +5778,7 @@
41   * @return a bitstream filter context if a matching filter was found
42   * and successfully initialized, NULL otherwise
43   */
44 -attribute_deprecated
45 +//attribute_deprecated
46  AVBitStreamFilterContext *av_bitstream_filter_init(const char *name);
47  
48  /**
49 @@ -5810,7 +5810,7 @@
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.
52   */
53 -attribute_deprecated
54 +//attribute_deprecated
55  int av_bitstream_filter_filter(AVBitStreamFilterContext *bsfc,
56                                 AVCodecContext *avctx, const char *args,
57                                 uint8_t **poutbuf, int *poutbuf_size,
58 @@ -5822,7 +5822,7 @@
59   * @param bsf the bitstream filter context created with
60   * av_bitstream_filter_init(), can be NULL
61   */
62 -attribute_deprecated
63 +//attribute_deprecated
64  void av_bitstream_filter_close(AVBitStreamFilterContext *bsf);
65  
66  /**
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
70 @@ -876,7 +876,7 @@
71      /**
72       * @deprecated use the codecpar struct instead
73       */
74 -    attribute_deprecated
75 +//    attribute_deprecated
76      AVCodecContext *codec;
77  #endif
78      void *priv_data;