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
a2f7314b
Commit
a2f7314b
authored
Mar 25, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libpostproc: silence valgrind/fate warning about using uninitialized data
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
67607e20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
postprocess_template.c
libpostproc/postprocess_template.c
+3
-1
No files found.
libpostproc/postprocess_template.c
View file @
a2f7314b
...
...
@@ -3216,17 +3216,19 @@ static inline void RENAME(duplicate)(uint8_t src[], int stride)
#if TEMPLATE_PP_MMX
__asm__
volatile
(
"movq (%0), %%mm0
\n\t
"
"movq %%mm0, (%0, %1, 4)
\n\t
"
"add %1, %0
\n\t
"
"movq %%mm0, (%0)
\n\t
"
"movq %%mm0, (%0, %1)
\n\t
"
"movq %%mm0, (%0, %1, 2)
\n\t
"
"movq %%mm0, (%0, %1, 4)
\n\t
"
:
"+r"
(
src
)
:
"r"
((
x86_reg
)
-
stride
)
);
#else
int
i
;
uint8_t
*
p
=
src
;
for
(
i
=
0
;
i
<
3
;
i
++
){
for
(
i
=
0
;
i
<
5
;
i
++
){
p
-=
stride
;
memcpy
(
p
,
src
,
8
);
}
...
...
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