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:
parent
c93d20bde6
commit
e21f7912ae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217792
@ -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
|
||||
|
10
multimedia/flv2mpeg4/files/patch-src_avformat_writer.h
Normal file
10
multimedia/flv2mpeg4/files/patch-src_avformat_writer.h
Normal 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
|
Loading…
Reference in New Issue
Block a user