On Mon, 23 Jul 2012, Diego Biurrun wrote:

The ffrtmpcrypt protocol depends on external libraries, which are
also required to compile the header file.
---
libavformat/Makefile |    1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavformat/Makefile b/libavformat/Makefile
index d8fe448..dbf1057 100644
--- a/libavformat/Makefile
+++ b/libavformat/Makefile
@@ -365,6 +365,7 @@ OBJS-$(CONFIG_TCP_PROTOCOL)              += tcp.o
OBJS-$(CONFIG_TLS_PROTOCOL)              += tls.o
OBJS-$(CONFIG_UDP_PROTOCOL)              += udp.o

+SKIPHEADERS-$(CONFIG_FFRTMPCRYPT_PROTOCOL) += rtmpdh.h
SKIPHEADERS-$(CONFIG_NETWORK)            += network.h rtsp.h

EXAMPLES  = metadata                                                    \
--
1.7.1

Ok with me - if it isn't done this way, one would have to make the whole header one big ifdef, and this is cleaner imo.

// Martin
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to