--- a/src/modules/avformat/Makefile	2009-12-08 16:38:58.000000000 +0900
+++ b/src/modules/avformat/Makefile	2009-12-09 10:44:06.000000000 +0900
@@ -1,5 +1,5 @@
 CFLAGS += -I../..
-LDFLAGS += -L../../framework -lmlt -lpthread
+LDFLAGS += -L../../framework -lmlt -lpthread -lm
 
 include ../../../config.mak
 include config.mak
