Or it'll cause invalid color and s->filter is NULL. Please reproduce it with below command on big endian system: $ ./ffmpeg -f lavfi -i "anoisesrc=d=60:c=1:r=48000" -f s16le -c:a pcm_s16le -f null - Segmentation fault (core dumped)
Unified · Split
| @@ -30,7 +30,7 @@ typedef struct ANoiseSrcContext { · 29 unmodified lines | ||
| 30 | 30 | int sample_rate; |
| 31 | 31 | double amplitude; |
| 32 | 32 | int64_t duration; |
| 33 | − int64_t color; | |
| 33 | + int color; | |
| 34 | 34 | int64_t seed; |
| 35 | 35 | int nb_samples; |
| 36 | 36 | |