7deb9356f8008f06362fdf3cc907f4938615daa9
[goodguy/cinelerra.git] / cinelerra-5.1 / thirdparty / src / ffmpeg.git.patch0
1 --- a/libavcodec/aaccoder.c
2 +++ b/libavcodec/aaccoder.c
3 @@ -60,6 +60,8 @@
4   * replace low energy non zero bands */
5  #define NOISE_LAMBDA_REPLACE 1.948f
6  
7 +#undef B0
8 +
9  #include "libavcodec/aaccoder_trellis.h"
10  
11  /**
12 --- a/libavcodec/hevc_mvs.c
13 +++ b/libavcodec/hevc_mvs.c
14 @@ -25,6 +25,8 @@
15  #include "hevcdec.h"
16  #include "threadframe.h"
17  
18 +#undef B0
19 +
20  static const uint8_t l0_l1_cand_idx[12][2] = {
21      { 0, 1, },
22      { 1, 0, },
23 --- a/libavcodec/opus_pvq.c
24 +++ b/libavcodec/opus_pvq.c
25 @@ -31,6 +31,8 @@
26  #define CELT_PVQ_U(n, k) (ff_celt_pvq_u_row[FFMIN(n, k)][FFMAX(n, k)])
27  #define CELT_PVQ_V(n, k) (CELT_PVQ_U(n, k) + CELT_PVQ_U(n, (k) + 1))
28  
29 +#undef B0
30 +
31  static inline int16_t celt_cos(int16_t x)
32  {
33      x = (MUL16(x, x) + 4096) >> 13;