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
c31a5b23
Commit
c31a5b23
authored
Jul 16, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "ffmpeg: get rid of a pointless limit on number of streams."
This reverts commit
c7dd3e7e
Conflicts: ffmpeg.c
parent
b57df29f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ffmpeg.c
ffmpeg.c
+4
-1
No files found.
ffmpeg.c
View file @
c31a5b23
...
...
@@ -3220,6 +3220,9 @@ static int opt_input_ts_scale(const char *opt, const char *arg)
p
++
;
scale
=
strtod
(
p
,
&
p
);
if
(
stream
>=
MAX_STREAMS
)
ffmpeg_exit
(
1
);
ts_scale
=
grow_array
(
ts_scale
,
sizeof
(
*
ts_scale
),
&
nb_ts_scale
,
stream
+
1
);
ts_scale
[
stream
]
=
scale
;
return
0
;
...
...
@@ -3849,7 +3852,7 @@ static int opt_streamid(const char *opt, const char *arg)
ffmpeg_exit
(
1
);
}
*
p
++
=
'\0'
;
idx
=
parse_number_or_die
(
opt
,
idx_str
,
OPT_INT
,
0
,
INT_MAX
);
idx
=
parse_number_or_die
(
opt
,
idx_str
,
OPT_INT
,
0
,
MAX_STREAMS
-
1
);
streamid_map
=
grow_array
(
streamid_map
,
sizeof
(
*
streamid_map
),
&
nb_streamid_map
,
idx
+
1
);
streamid_map
[
idx
]
=
parse_number_or_die
(
opt
,
p
,
OPT_INT
,
0
,
INT_MAX
);
return
0
;
...
...
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