The header is required for the sin() function.
Showing the changes to doc/examples/decoding_encoding.c (1 of 1 file). Show all
Unified · Split
| @@ -29,6 +29,8 @@ · 28 unmodified lines | ||
| 29 | 29 | * format handling |
| 30 | 30 | */ |
| 31 | 31 | |
| 32 | +#include <math.h> | |
| 33 | + | |
| 32 | 34 | #include "libavutil/imgutils.h" |
| 33 | 35 | #include "libavutil/opt.h" |
| 34 | 36 | #include "libavcodec/avcodec.h" |