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
91492bd1
Commit
91492bd1
authored
Oct 02, 2011
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: remove usage of deprecated av_opt_set_defaults2() function
Prefer av_opt_set_defaults() instead.
parent
f8a4075e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
vf_delogo.c
libavfilter/vf_delogo.c
+1
-1
vf_lut.c
libavfilter/vf_lut.c
+1
-1
vsrc_mptestsrc.c
libavfilter/vsrc_mptestsrc.c
+1
-1
vsrc_testsrc.c
libavfilter/vsrc_testsrc.c
+1
-1
No files found.
libavfilter/vf_delogo.c
View file @
91492bd1
...
...
@@ -178,7 +178,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
int
ret
=
0
;
delogo
->
class
=
&
delogo_class
;
av_opt_set_defaults
2
(
delogo
,
0
,
0
);
av_opt_set_defaults
(
delogo
);
if
(
args
)
ret
=
sscanf
(
args
,
"%d:%d:%d:%d:%d"
,
...
...
libavfilter/vf_lut.c
View file @
91492bd1
...
...
@@ -113,7 +113,7 @@ static int init(AVFilterContext *ctx, const char *args, void *opaque)
int
ret
;
lut
->
class
=
&
lut_class
;
av_opt_set_defaults
2
(
lut
,
0
,
0
);
av_opt_set_defaults
(
lut
);
lut
->
var_values
[
VAR_PHI
]
=
M_PHI
;
lut
->
var_values
[
VAR_PI
]
=
M_PI
;
...
...
libavfilter/vsrc_mptestsrc.c
View file @
91492bd1
...
...
@@ -270,7 +270,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
int
ret
;
test
->
class
=
&
mptestsrc_class
;
av_opt_set_defaults
2
(
test
,
0
,
0
);
av_opt_set_defaults
(
test
);
if
((
ret
=
(
av_set_options_string
(
test
,
args
,
"="
,
":"
)))
<
0
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"Error parsing options string: '%s'
\n
"
,
args
);
...
...
libavfilter/vsrc_testsrc.c
View file @
91492bd1
...
...
@@ -73,7 +73,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
int64_t
duration
=
-
1
;
int
ret
=
0
;
av_opt_set_defaults
2
(
test
,
0
,
0
);
av_opt_set_defaults
(
test
);
if
((
ret
=
(
av_set_options_string
(
test
,
args
,
"="
,
":"
)))
<
0
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"Error parsing options string: '%s'
\n
"
,
args
);
...
...
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