aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-05-12 17:24:08 +0200
committerClément Bœsch <ubitux@gmail.com>2012-05-12 17:59:41 +0200
commit072c2c08bfb7a6365a73cd5ece18f611b06a6fcf (patch)
treeefca17af47f8668751f4cd05ca86bb3f5b76372c
parent2f197a20cf4277aa86d6a22363064f7ed3318bbb (diff)
downloadffmpeg-072c2c08bfb7a6365a73cd5ece18f611b06a6fcf.tar.gz
doc/examples: add missing math.h include in decoding/encoding example.
The header is required for the sin() function.
-rw-r--r--doc/examples/decoding_encoding.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/examples/decoding_encoding.c b/doc/examples/decoding_encoding.c
index cb63294b14..9280b57ad3 100644
--- a/doc/examples/decoding_encoding.c
+++ b/doc/examples/decoding_encoding.c
@@ -29,6 +29,8 @@
* format handling
*/
+#include <math.h>
+
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavcodec/avcodec.h"