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
5fc5170c
Commit
5fc5170c
authored
Aug 10, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avutil/opt: make const tables static const
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
18b1381c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
opt.c
libavutil/opt.c
+3
-3
No files found.
libavutil/opt.c
View file @
5fc5170c
...
...
@@ -1506,7 +1506,7 @@ int main(void)
printf
(
"
\n
Testing av_set_options_string()
\n
"
);
{
TestContext
test_ctx
=
{
0
};
const
char
*
options
[]
=
{
static
const
char
*
const
options
[]
=
{
""
,
":"
,
"="
,
...
...
@@ -1565,7 +1565,7 @@ int main(void)
printf
(
"
\n
Testing av_opt_set_from_string()
\n
"
);
{
TestContext
test_ctx
=
{
0
};
const
char
*
options
[]
=
{
static
const
char
*
const
options
[]
=
{
""
,
"5"
,
"5:hello"
,
...
...
@@ -1576,7 +1576,7 @@ int main(void)
" 5 : hello : size = pal "
,
"a_very_long_option_name_that_will_need_to_be_ellipsized_around_here=42"
};
const
char
*
shorthand
[]
=
{
"num"
,
"string"
,
NULL
};
static
const
char
*
const
shorthand
[]
=
{
"num"
,
"string"
,
NULL
};
test_ctx
.
class
=
&
test_class
;
av_opt_set_defaults
(
&
test_ctx
);
...
...
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