Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
56ebc459
Commit
56ebc459
authored
Feb 15, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/audio_filter/converter/dtstospdif.c: fixed the swab() replacement.
parent
4a0f6b60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/audio_filter/converter/dtstospdif.c
modules/audio_filter/converter/dtstospdif.c
+4
-3
No files found.
modules/audio_filter/converter/dtstospdif.c
View file @
56ebc459
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* dtstospdif.c : encapsulates DTS frames into S/PDIF packets
* dtstospdif.c : encapsulates DTS frames into S/PDIF packets
*****************************************************************************
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* Copyright (C) 2003 VideoLAN
* $Id: dtstospdif.c,v 1.
7 2004/02/08 00:15:04
gbazin Exp $
* $Id: dtstospdif.c,v 1.
8 2004/02/15 21:52:59
gbazin Exp $
*
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
*
*
...
@@ -175,12 +175,13 @@ static void DoWork( aout_instance_t * p_aout, aout_filter_t * p_filter,
...
@@ -175,12 +175,13 @@ static void DoWork( aout_instance_t * p_aout, aout_filter_t * p_filter,
swab
(
p_in
,
p_out
+
8
,
i_length
);
swab
(
p_in
,
p_out
+
8
,
i_length
);
#else
#else
uint16_t
i
;
uint16_t
i
;
byte_t
*
p_tmp
;
byte_t
*
p_tmp
,
tmp
;
p_tmp
=
p_out
+
8
;
p_tmp
=
p_out
+
8
;
for
(
i
=
i_length
/
2
;
i
--
;
)
for
(
i
=
i_length
/
2
;
i
--
;
)
{
{
tmp
=
p_in
[
0
];
/* in-place filter */
p_tmp
[
0
]
=
p_in
[
1
];
p_tmp
[
0
]
=
p_in
[
1
];
p_tmp
[
1
]
=
p_in
[
0
]
;
p_tmp
[
1
]
=
tmp
;
p_tmp
+=
2
;
p_in
+=
2
;
p_tmp
+=
2
;
p_in
+=
2
;
}
}
#endif
#endif
...
...
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