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
cca8f53a
Commit
cca8f53a
authored
May 25, 2020
by
Limin Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/prompeg: av_dict_set() -> av_dict_set_int()
Signed-off-by:
Limin Wang
<
lance.lmwang@gmail.com
>
parent
6e911898
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
prompeg.c
libavformat/prompeg.c
+1
-2
No files found.
libavformat/prompeg.c
View file @
cca8f53a
...
@@ -291,8 +291,7 @@ static int prompeg_open(URLContext *h, const char *uri, int flags) {
...
@@ -291,8 +291,7 @@ static int prompeg_open(URLContext *h, const char *uri, int flags) {
}
}
if
(
s
->
ttl
>
0
)
{
if
(
s
->
ttl
>
0
)
{
snprintf
(
buf
,
sizeof
(
buf
),
"%d"
,
s
->
ttl
);
av_dict_set_int
(
&
udp_opts
,
"ttl"
,
s
->
ttl
,
0
);
av_dict_set
(
&
udp_opts
,
"ttl"
,
buf
,
0
);
}
}
ff_url_join
(
buf
,
sizeof
(
buf
),
"udp"
,
NULL
,
hostname
,
rtp_port
+
2
,
NULL
);
ff_url_join
(
buf
,
sizeof
(
buf
),
"udp"
,
NULL
,
hostname
,
rtp_port
+
2
,
NULL
);
...
...
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