06435263773b161441383f06a3f00dd88f44c3c3
[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  typedef float (*quantize_and_encode_band_func)(struct AACEncContext *s, PutBitContext *pb,
12
13 --- a/libavcodec/hevc_mvs.c
14 +++ b/libavcodec/hevc_mvs.c
15 @@ -25,6 +25,8 @@
16  #include "hevcdec.h"
17  #include "threadframe.h"
18  
19 +#undef B0
20 +
21  static const uint8_t l0_l1_cand_idx[12][2] = {
22      { 0, 1, },
23      { 1, 0, },
24 --- a/libavcodec/opus_pvq.c
25 +++ b/libavcodec/opus_pvq.c
26 @@ -36,6 +36,8 @@
27  #define CELT_PVQ_U(n, k) (ff_celt_pvq_u_row[FFMIN(n, k)][FFMAX(n, k)])
28  #define CELT_PVQ_V(n, k) (CELT_PVQ_U(n, k) + CELT_PVQ_U(n, (k) + 1))
29  
30 +#undef B0
31 +
32  static inline int16_t celt_cos(int16_t x)
33  {
34      x = (MUL16(x, x) + 4096) >> 13;