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
9c8d9f25
Commit
9c8d9f25
authored
Jul 18, 2007
by
Vitor Sessak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another minor simplification
Originally committed as revision 9744 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ac069107
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
alac.c
libavcodec/alac.c
+7
-10
No files found.
libavcodec/alac.c
View file @
9c8d9f25
...
...
@@ -412,19 +412,16 @@ static void deinterlace_16(int32_t *buffer[MAX_CHANNELS],
/* weighted interlacing */
if
(
interlacing_leftweight
)
{
for
(
i
=
0
;
i
<
numsamples
;
i
++
)
{
int32_t
difference
,
midright
;
int16_t
left
;
int16_t
right
;
int32_t
a
,
b
;
midright
=
buffer
[
0
][
i
];
difference
=
buffer
[
1
][
i
];
a
=
buffer
[
0
][
i
];
b
=
buffer
[
1
][
i
];
a
-=
(
b
*
interlacing_leftweight
)
>>
interlacing_shift
;
b
+=
a
;
right
=
midright
-
((
difference
*
interlacing_leftweight
)
>>
interlacing_shift
);
left
=
right
+
difference
;
buffer_out
[
i
*
numchannels
]
=
left
;
buffer_out
[
i
*
numchannels
+
1
]
=
right
;
buffer_out
[
i
*
numchannels
]
=
b
;
buffer_out
[
i
*
numchannels
+
1
]
=
a
;
}
return
;
...
...
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