Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
9c938e77
F
Ffmpeg
项目概览
小白菜888
/
Ffmpeg
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
Ffmpeg
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9c938e77
编写于
11月 26, 2002
作者:
P
Philip Gladstone
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
More fixes to compile and build on more platforms.
Originally committed as revision 1280 to
svn://svn.ffmpeg.org/ffmpeg/trunk
上级
35fedfc3
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
18 addition
and
6 deletion
+18
-6
Makefile
Makefile
+2
-2
configure
configure
+15
-3
ffserver.c
ffserver.c
+1
-1
未找到文件。
Makefile
浏览文件 @
9c938e77
...
...
@@ -69,7 +69,7 @@ ffmpeg$(EXE): ffmpeg_g$(EXE)
ffserver$(EXE)
:
ffserver.o $(DEP_LIBS)
$(CC)
$(LDFLAGS)
$(FFSLDFLAGS)
\
-o
$@
ffserver.o
-L
./libavcodec
-L
./libavformat
\
-lavformat
-lavcodec
-ldl
$(EXTRALIBS)
-lavformat
-lavcodec
$(EXTRALIBS)
ffplay
:
ffmpeg$(EXE)
ln
-sf
$<
$@
...
...
@@ -120,7 +120,7 @@ TAGS:
# regression tests
libavtest test mpeg4 mpeg
:
ffmpeg$(EXE)
make
-C
tests
$@
$(MAKE)
-C
tests
$@
ifneq
($(wildcard .depend),)
include
.depend
...
...
configure
浏览文件 @
9c938e77
...
...
@@ -100,6 +100,12 @@ else
netserver
=
"yes"
extralibs
=
"-lnet"
fi
;;
FreeBSD
)
v4l
=
"no"
audio_oss
=
"yes"
make
=
"gmake"
LDFLAGS
=
"-export-dynamic"
;;
BSD/OS
)
v4l
=
"no"
audio_oss
=
"yes"
...
...
@@ -148,10 +154,17 @@ cat > $TMPC << EOF
int main( void ) { return (int) dlopen("foo", 0); }
EOF
ldl
=
-ldl
if
$cc
-o
$TMPO
$TMPC
-ldl
2> /dev/null
;
then
vhook
=
yes
fi
if
$cc
-o
$TMPO
$TMPC
2> /dev/null
;
then
vhook
=
yes
ldl
=
""
fi
cat
>
$TMPC
<<
EOF
#include <X11/Xlib.h>
#include <Imlib2.h>
...
...
@@ -201,7 +214,7 @@ for opt do
;;
--disable-a52
)
a52
=
"no"
;;
--enable-a52bin
)
a52bin
=
"yes"
;
extralibs
=
"
-
ldl
$extralibs
"
--enable-a52bin
)
a52bin
=
"yes"
;
extralibs
=
"
$
ldl
$extralibs
"
;;
--enable-mp3lame
)
mp3lame
=
"yes"
;;
...
...
@@ -475,7 +488,6 @@ echo "STRIP=$strip" >> config.mak
echo
"OPTFLAGS=
$CFLAGS
"
>>
config.mak
echo
"LDFLAGS=
$LDFLAGS
"
>>
config.mak
echo
"SHFLAGS=
$SHFLAGS
"
>>
config.mak
echo
"LDFLAGS=
$LDFLAGS
"
>>
config.mak
if
test
"
$cpu
"
=
"x86"
;
then
echo
"TARGET_ARCH_X86=yes"
>>
config.mak
echo
"#define ARCH_X86 1"
>>
$TMPH
...
...
@@ -529,7 +541,7 @@ fi
if
test
"
$vhook
"
=
"yes"
;
then
echo
"BUILD_VHOOK=yes"
>>
config.mak
echo
"#define HAVE_VHOOK 1"
>>
$TMPH
extralibs
=
"
$extralibs
-
ldl"
extralibs
=
"
$extralibs
$
ldl
"
fi
if
test
"
$lshared
"
=
"yes"
;
then
echo
"BUILD_SHARED=yes"
>>
config.mak
...
...
ffserver.c
浏览文件 @
9c938e77
...
...
@@ -20,7 +20,6 @@
#include "avformat.h"
#include <stdarg.h>
#include <netinet/in.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
...
...
@@ -31,6 +30,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/wait.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <ctype.h>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录