doc/examples: add missing math.h include in decoding/encoding example.
authorClément Bœsch <ubitux@gmail.com>
Sat, 12 May 2012 15:24:08 +0000 (17:24 +0200)
committerClément Bœsch <ubitux@gmail.com>
Sat, 12 May 2012 15:59:41 +0000 (17:59 +0200)
The header is required for the sin() function.

doc/examples/decoding_encoding.c

index cb63294..9280b57 100644 (file)
@@ -29,6 +29,8 @@
  * format handling
  */
 
+#include <math.h>
+
 #include "libavutil/imgutils.h"
 #include "libavutil/opt.h"
 #include "libavcodec/avcodec.h"