projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
add support for ffmpeg libswscale
[melted]
/
src
/
modules
/
avformat
/
Makefile
diff --git
a/src/modules/avformat/Makefile
b/src/modules/avformat/Makefile
index
b9e801a
..
d9ee317
100644
(file)
--- a/
src/modules/avformat/Makefile
+++ b/
src/modules/avformat/Makefile
@@
-19,6
+19,11
@@
LDFLAGS+=-L../../framework
LDFLAGS+=-lavformat$(AVFORMAT_SUFFIX) -lavcodec$(AVFORMAT_SUFFIX) -lavutil$(AVFORMAT_SUFFIX) $(EXTRA_LIBS) -lmlt
+ifdef MMX_FLAGS
+ CFLAGS+=-DSWSCALE
+ LDFLAGS+=-lswscale$(AVFORMAT_SUFFIX)
+endif
+
SRCS := $(OBJS:.o=.c)
all: $(TARGET)