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
65f2f028
Commit
65f2f028
authored
Jun 24, 2008
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reindent
Originally committed as revision 13938 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
cbcc2527
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
ffserver.c
ffserver.c
+18
-18
No files found.
ffserver.c
View file @
65f2f028
...
...
@@ -3986,25 +3986,25 @@ static int parse_ffconfig(const char *filename)
}
else
if
(
!
strcasecmp
(
cmd
,
"Format"
))
{
get_arg
(
arg
,
sizeof
(
arg
),
&
p
);
if
(
stream
)
{
if
(
!
strcmp
(
arg
,
"status"
))
{
stream
->
stream_type
=
STREAM_TYPE_STATUS
;
stream
->
fmt
=
NULL
;
}
else
{
stream
->
stream_type
=
STREAM_TYPE_LIVE
;
/* jpeg cannot be used here, so use single frame jpeg */
if
(
!
strcmp
(
arg
,
"jpeg"
))
strcpy
(
arg
,
"mjpeg"
);
stream
->
fmt
=
guess_stream_format
(
arg
,
NULL
,
NULL
);
if
(
!
stream
->
fmt
)
{
fprintf
(
stderr
,
"%s:%d: Unknown Format: %s
\n
"
,
filename
,
line_num
,
arg
);
errors
++
;
if
(
!
strcmp
(
arg
,
"status"
))
{
stream
->
stream_type
=
STREAM_TYPE_STATUS
;
stream
->
fmt
=
NULL
;
}
else
{
stream
->
stream_type
=
STREAM_TYPE_LIVE
;
/* jpeg cannot be used here, so use single frame jpeg */
if
(
!
strcmp
(
arg
,
"jpeg"
))
strcpy
(
arg
,
"mjpeg"
);
stream
->
fmt
=
guess_stream_format
(
arg
,
NULL
,
NULL
);
if
(
!
stream
->
fmt
)
{
fprintf
(
stderr
,
"%s:%d: Unknown Format: %s
\n
"
,
filename
,
line_num
,
arg
);
errors
++
;
}
}
if
(
stream
->
fmt
)
{
audio_id
=
stream
->
fmt
->
audio_codec
;
video_id
=
stream
->
fmt
->
video_codec
;
}
}
if
(
stream
->
fmt
)
{
audio_id
=
stream
->
fmt
->
audio_codec
;
video_id
=
stream
->
fmt
->
video_codec
;
}
}
}
else
if
(
!
strcasecmp
(
cmd
,
"InputFormat"
))
{
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