| 6 |
| diff --git a/vpx_dsp/add_noise.c b/vpx_dsp/add_noise.c |
| 7 | --- a/vpx_dsp/add_noise.c (revision 626ff35955c2c35b806b3e0ecf551a1a8611cdbf) |
| 8 | +++ b/vpx_dsp/add_noise.c (date 1643957537362) |
| 9 | @@ -18,6 +18,8 @@ |
| 10 | #include "vpx_dsp/postproc.h" |
| 11 | #include "vpx_ports/mem.h" |
| 12 |
| 13 | +#define rand() ((int)lrand48()) |
| 14 | + |
| 15 | void vpx_plane_add_noise_c(uint8_t *start, const int8_t *noise, int blackclamp, |
| 16 | int whiteclamp, int width, int height, int pitch) { |
| 17 | int i, j; |
| 18 |