Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
68dec867
Commit
68dec867
authored
May 05, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a regression with avcodec due to
83f58a50
parent
77c069c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
modules/codec/avcodec/audio.c
modules/codec/avcodec/audio.c
+5
-3
No files found.
modules/codec/avcodec/audio.c
View file @
68dec867
...
...
@@ -457,10 +457,12 @@ static void SetupOutputFormat( decoder_t *p_dec, bool b_trust )
p_dec
->
fmt_out
.
audio
.
i_channels
=
p_sys
->
p_context
->
channels
;
/* */
if
(
p_sys
->
i_previous_channels
==
p_sys
->
p_context
->
channels
)
return
;
#if defined(LIBAVCODEC_AUDIO_LAYOUT)
if
(
p_sys
->
i_previous_layout
==
p_sys
->
p_context
->
channel_layout
)
if
(
p_sys
->
i_previous_channels
==
p_sys
->
p_context
->
channels
&&
p_sys
->
i_previous_layout
==
p_sys
->
p_context
->
channel_layout
)
return
;
#else
if
(
p_sys
->
i_previous_channels
==
p_sys
->
p_context
->
channels
)
return
;
#endif
if
(
b_trust
)
...
...
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