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
df72ae67
Commit
df72ae67
authored
Nov 15, 2011
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swr: replace deprecated av_set_int() with av_opt_set_int().
parent
ad561b57
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
swresample.c
libswresample/swresample.c
+6
-6
No files found.
libswresample/swresample.c
View file @
df72ae67
...
...
@@ -91,12 +91,12 @@ SwrContext *swr_alloc2(struct SwrContext *s, int64_t out_ch_layout, enum AVSampl
s
->
log_level_offset
=
log_offset
;
s
->
log_ctx
=
log_ctx
;
av_
set_int
(
s
,
"ocl"
,
out_ch_layout
);
av_
set_int
(
s
,
"osf"
,
out_sample_fmt
);
av_
set_int
(
s
,
"osr"
,
out_sample_rate
);
av_
set_int
(
s
,
"icl"
,
in_ch_layout
);
av_
set_int
(
s
,
"isf"
,
in_sample_fmt
);
av_
set_int
(
s
,
"isr"
,
in_sample_rate
);
av_
opt_set_int
(
s
,
"ocl"
,
out_ch_layout
,
0
);
av_
opt_set_int
(
s
,
"osf"
,
out_sample_fmt
,
0
);
av_
opt_set_int
(
s
,
"osr"
,
out_sample_rate
,
0
);
av_
opt_set_int
(
s
,
"icl"
,
in_ch_layout
,
0
);
av_
opt_set_int
(
s
,
"isf"
,
in_sample_fmt
,
0
);
av_
opt_set_int
(
s
,
"isr"
,
in_sample_rate
,
0
);
s
->
channel_map
=
channel_map
;
s
->
in
.
ch_count
=
av_get_channel_layout_nb_channels
(
s
->
in_ch_layout
);
...
...
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