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
cbe43e62
Commit
cbe43e62
authored
Dec 09, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffserver: set oformat
Fix Ticket1986 Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
cef28b56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
ffserver.c
ffserver.c
+3
-1
No files found.
ffserver.c
View file @
cbe43e62
...
...
@@ -2961,12 +2961,14 @@ static int prepare_sdp_description(FFStream *stream, uint8_t **pbuffer,
{
AVFormatContext
*
avc
;
AVStream
*
avs
=
NULL
;
AVOutputFormat
*
rtp_format
=
av_guess_format
(
"rtp"
,
NULL
,
NULL
);
int
i
;
avc
=
avformat_alloc_context
();
if
(
avc
==
NULL
)
{
if
(
avc
==
NULL
||
!
rtp_format
)
{
return
-
1
;
}
avc
->
oformat
=
rtp_format
;
av_dict_set
(
&
avc
->
metadata
,
"title"
,
stream
->
title
[
0
]
?
stream
->
title
:
"No Title"
,
0
);
avc
->
nb_streams
=
stream
->
nb_streams
;
...
...
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