[FFmpeg-cvslog] doc/examples: link decoding_encoding and muxing with math lib.

Clément Bœsch git at videolan.org
Sat May 12 18:10:07 CEST 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Wed May  9 23:06:43 2012 +0200| [2f197a20cf4277aa86d6a22363064f7ed3318bbb] | committer: Clément Bœsch

doc/examples: link decoding_encoding and muxing with math lib.

These two examples use the sin() function.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2f197a20cf4277aa86d6a22363064f7ed3318bbb
---

 doc/examples/Makefile |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index 99c04ff..9bb68ae 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -17,6 +17,10 @@ EXAMPLES=       decoding_encoding                  \
 
 OBJS=$(addsuffix .o,$(EXAMPLES))
 
+# the following examples make explicit use of the math library
+decoding_encoding: LDLIBS += -lm
+muxing:            LDLIBS += -lm
+
 %: %.o
 	$(CC) $< $(LDLIBS) -o $@
 



More information about the ffmpeg-cvslog mailing list