Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
394e1775
Commit
394e1775
authored
Aug 30, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
faad: remove broken vlc_memcpy() instead of memmove()
We do not need to copy here anyway.
parent
f41b8cd0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
modules/codec/faad.c
modules/codec/faad.c
+1
-3
No files found.
modules/codec/faad.c
View file @
394e1775
...
@@ -222,9 +222,7 @@ static aout_buffer_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
...
@@ -222,9 +222,7 @@ static aout_buffer_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
/* FIXME: multiple blocks per frame */
/* FIXME: multiple blocks per frame */
if
(
p_block
->
i_buffer
>
i_header_size
)
if
(
p_block
->
i_buffer
>
i_header_size
)
{
{
vlc_memcpy
(
p_block
->
p_buffer
,
p_block
->
p_buffer
+=
i_header_size
;
p_block
->
p_buffer
+
i_header_size
,
p_block
->
i_buffer
-
i_header_size
);
p_block
->
i_buffer
-=
i_header_size
;
p_block
->
i_buffer
-=
i_header_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