1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Fix build with new ffmpeg

Submitted by:	Alex Kozlov <spam@rm-rf.kiev.ua> (maintainer)
This commit is contained in:
Pav Lucistnik 2008-07-28 22:16:42 +00:00
parent c93d20bde6
commit e21f7912ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217792
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -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