diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2008-07-28 22:16:42 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2008-07-28 22:16:42 +0000 |
commit | e21f7912aef488a2401d2e239f1feecac32188ab (patch) | |
tree | 9d6e5157ebef4fc7d7b5a4300c07b85c10ca35be /multimedia/flv2mpeg4 | |
parent | c93d20bde682f7b2d3f23098bb810b72cf0e8927 (diff) | |
download | ports-e21f7912aef488a2401d2e239f1feecac32188ab.tar.gz ports-e21f7912aef488a2401d2e239f1feecac32188ab.zip |
- Fix build with new ffmpeg
Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> (maintainer)
Notes
Notes:
svn path=/head/; revision=217792
Diffstat (limited to 'multimedia/flv2mpeg4')
-rw-r--r-- | multimedia/flv2mpeg4/files/Makefile.bsd | 2 | ||||
-rw-r--r-- | multimedia/flv2mpeg4/files/patch-src_avformat_writer.h | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/multimedia/flv2mpeg4/files/Makefile.bsd b/multimedia/flv2mpeg4/files/Makefile.bsd index 6581f50587b5..1752294ee23e 100644 --- a/multimedia/flv2mpeg4/files/Makefile.bsd +++ b/multimedia/flv2mpeg4/files/Makefile.bsd @@ -5,7 +5,7 @@ SRCS= avformat_writer.c dcprediction.c flv2mpeg4.c fetch.c flvdecoder.c\ m4vencode.c mp3header.c LDADD+= -lpthread -lavformat -lavcodec -lavutil CFLAGS+= -O2 -CFLAGS+= -I/usr/local/include/ffmpeg +CFLAGS+= -I/usr/local/include LDADD+= -L/usr/local/lib PROG= flv2mpeg4 NO_MAN= yes diff --git a/multimedia/flv2mpeg4/files/patch-src_avformat_writer.h b/multimedia/flv2mpeg4/files/patch-src_avformat_writer.h new file mode 100644 index 000000000000..6de73fad3fa4 --- /dev/null +++ b/multimedia/flv2mpeg4/files/patch-src_avformat_writer.h @@ -0,0 +1,10 @@ +Index: avformat_writer.h +@@ -28,7 +28,7 @@ + #include <memory.h> + + #include "type.h" +-#include "avformat.h" // libavformat is part of ffmpeg(http://ffmpeg.sf.net) ++#include "libavformat/avformat.h" // libavformat is part of ffmpeg(http://ffmpeg.sf.net) + #include "mp3header.h" + + typedef struct _AVFWRITER |