Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
ba1d4198
Commit
ba1d4198
authored
Apr 12, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aout: fix non-optimized aout_ChannelReorder() variant
parent
1fe85541
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/audio_output/common.c
src/audio_output/common.c
+2
-2
No files found.
src/audio_output/common.c
View file @
ba1d4198
...
...
@@ -322,13 +322,13 @@ do { \
default:
{
unsigned
size
=
aout_BitsPerSample
(
fourcc
)
/
8
;
const
size_t
frames
=
bytes
/
size
;
const
size_t
frames
=
bytes
/
(
size
*
channels
)
;
unsigned
char
*
buf
=
ptr
;
assert
(
bytes
!=
0
);
for
(
size_t
i
=
0
;
i
<
frames
;
i
++
)
{
unsigned
char
tmp
[
AOUT_CHAN_MAX
*
bytes
];
unsigned
char
tmp
[
AOUT_CHAN_MAX
*
size
];
for
(
size_t
j
=
0
;
j
<
channels
;
j
++
)
memcpy
(
tmp
+
size
*
chans_table
[
j
],
buf
+
size
*
j
,
size
);
...
...
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