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
6d858199
Commit
6d858199
authored
Nov 15, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aout: fix support for 8-bits PCM
parent
2df0519d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/audio_output/filters.c
src/audio_output/filters.c
+3
-1
No files found.
src/audio_output/filters.c
View file @
6d858199
...
...
@@ -167,7 +167,7 @@ static int aout_FiltersPipelineCreate(vlc_object_t *obj, filter_t **filters,
if
(
input
.
i_format
!=
outfmt
->
i_format
||
!
same_mix
)
{
vlc_fourcc_t
native
=
aout_NativeEndian
(
input
.
i_format
);
if
(
native
!=
input
.
i_format
)
if
(
native
!=
0
&&
native
!=
input
.
i_format
)
{
if
(
n
==
max
)
goto
overflow
;
...
...
@@ -248,6 +248,8 @@ static int aout_FiltersPipelineCreate(vlc_object_t *obj, filter_t **filters,
/* Format */
vlc_fourcc_t
native
=
aout_NativeEndian
(
outfmt
->
i_format
);
if
(
native
==
0
)
native
=
outfmt
->
i_format
;
if
(
input
.
i_format
!=
native
)
{
if
(
max
==
0
)
...
...
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