Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
flac
Commits
f80652a8
Commit
f80652a8
authored
Feb 22, 2017
by
Erik de Castro Lopo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream_decoder.c: Comments
Patch-from: lvqcl <lvqcl.mail@gmail.com>
parent
5ae578ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/libFLAC/stream_decoder.c
src/libFLAC/stream_decoder.c
+8
-8
No files found.
src/libFLAC/stream_decoder.c
View file @
f80652a8
...
...
@@ -647,10 +647,10 @@ FLAC_API FLAC__bool FLAC__stream_decoder_finish(FLAC__StreamDecoder *decoder)
FLAC__bitreader_free
(
decoder
->
private_
->
input
);
for
(
i
=
0
;
i
<
FLAC__MAX_CHANNELS
;
i
++
)
{
/* WATCHOUT:
* FLAC__lpc_restore_signal_asm_ia32_mmx()
requires that the
* output arrays have a buffer of up to 3 zeroes
in front
* (at negative indices) for alignment purposes;
we use 4
* to keep the data well-aligned.
* FLAC__lpc_restore_signal_asm_ia32_mmx()
and ..._intrin_sseN()
*
require that the
output arrays have a buffer of up to 3 zeroes
*
in front
(at negative indices) for alignment purposes;
*
we use 4
to keep the data well-aligned.
*/
if
(
0
!=
decoder
->
private_
->
output
[
i
])
{
free
(
decoder
->
private_
->
output
[
i
]
-
4
);
...
...
@@ -1280,10 +1280,10 @@ FLAC__bool allocate_output_(FLAC__StreamDecoder *decoder, uint32_t size, uint32_
for
(
i
=
0
;
i
<
channels
;
i
++
)
{
/* WATCHOUT:
* FLAC__lpc_restore_signal_asm_ia32_mmx()
requires that the
* output arrays have a buffer of up to 3 zeroes
in front
* (at negative indices) for alignment purposes;
we use 4
* to keep the data well-aligned.
* FLAC__lpc_restore_signal_asm_ia32_mmx()
and ..._intrin_sseN()
*
require that the
output arrays have a buffer of up to 3 zeroes
*
in front
(at negative indices) for alignment purposes;
*
we use 4
to keep the data well-aligned.
*/
tmp
=
safe_malloc_muladd2_
(
sizeof
(
FLAC__int32
),
/*times (*/
size
,
/*+*/
4
/*)*/
);
if
(
tmp
==
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