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
1607a985
Commit
1607a985
authored
Aug 03, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/mlp: Fix bugs in libavs warning fixes
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
20be5e0a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mlp_parser.c
libavcodec/mlp_parser.c
+2
-2
mlpdec.c
libavcodec/mlpdec.c
+1
-1
No files found.
libavcodec/mlp_parser.c
View file @
1607a985
...
...
@@ -337,8 +337,8 @@ FF_DISABLE_DEPRECATION_WARNINGS
mh
.
num_substreams
>
1
)
{
avctx
->
channels
=
2
;
avctx
->
channel_layout
=
AV_CH_LAYOUT_STEREO
;
}
else
FF_ENABLE_DEPRECATION_WARNINGS
}
else
#endif
if
(
avctx
->
request_channel_layout
==
AV_CH_LAYOUT_STEREO
&&
mh
.
num_substreams
>
1
)
{
...
...
@@ -360,8 +360,8 @@ FF_DISABLE_DEPRECATION_WARNINGS
avctx
->
request_channels
<=
mh
.
channels_thd_stream1
)
{
avctx
->
channels
=
mh
.
channels_thd_stream1
;
avctx
->
channel_layout
=
mh
.
channel_layout_thd_stream1
;
}
else
FF_ENABLE_DEPRECATION_WARNINGS
}
else
#endif
if
(
avctx
->
request_channel_layout
==
AV_CH_LAYOUT_STEREO
&&
mh
.
num_substreams
>
1
)
{
...
...
libavcodec/mlpdec.c
View file @
1607a985
...
...
@@ -471,8 +471,8 @@ FF_DISABLE_DEPRECATION_WARNINGS
"Further substreams will be skipped.
\n
"
,
s
->
max_channel
+
1
,
substr
);
m
->
max_decoded_substream
=
substr
;
}
else
FF_ENABLE_DEPRECATION_WARNINGS
}
else
#endif
if
(
m
->
avctx
->
request_channel_layout
==
s
->
ch_layout
&&
m
->
max_decoded_substream
>
substr
)
{
...
...
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