Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
77f5cb92
Commit
77f5cb92
authored
Nov 28, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffserver: factorize code setting ReadOnlyFile/File options
parent
0e1e5d00
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
ffserver.c
ffserver.c
+2
-7
No files found.
ffserver.c
View file @
77f5cb92
...
...
@@ -4209,18 +4209,13 @@ static int parse_ffconfig(const char *filename)
goto
end
;
}
}
}
else
if
(
!
av_strcasecmp
(
cmd
,
"ReadOnlyFile"
))
{
}
else
if
(
!
av_strcasecmp
(
cmd
,
"
File"
)
||
!
av_strcasecmp
(
cmd
,
"
ReadOnlyFile"
))
{
if
(
feed
)
{
get_arg
(
feed
->
feed_filename
,
sizeof
(
feed
->
feed_filename
),
&
p
);
feed
->
readonly
=
1
;
feed
->
readonly
=
!
av_strcasecmp
(
cmd
,
"ReadOnlyFile"
)
;
}
else
if
(
stream
)
{
get_arg
(
stream
->
feed_filename
,
sizeof
(
stream
->
feed_filename
),
&
p
);
}
}
else
if
(
!
av_strcasecmp
(
cmd
,
"File"
))
{
if
(
feed
)
{
get_arg
(
feed
->
feed_filename
,
sizeof
(
feed
->
feed_filename
),
&
p
);
}
else
if
(
stream
)
get_arg
(
stream
->
feed_filename
,
sizeof
(
stream
->
feed_filename
),
&
p
);
}
else
if
(
!
av_strcasecmp
(
cmd
,
"Truncate"
))
{
if
(
feed
)
{
get_arg
(
arg
,
sizeof
(
arg
),
&
p
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment