Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
39dc439c
Commit
39dc439c
authored
Oct 11, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: fix unaligned USWC copy (fixes #6333)
parent
44819779
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/codec/avcodec/copy.c
modules/codec/avcodec/copy.c
+3
-3
No files found.
modules/codec/avcodec/copy.c
View file @
39dc439c
...
...
@@ -86,10 +86,10 @@ static void CopyFromUswc(uint8_t *dst, size_t dst_pitch,
ASM_SSE2
(
cpu
,
"mfence"
);
for
(
unsigned
y
=
0
;
y
<
height
;
y
++
)
{
const
unsigned
unaligned
=
(
intptr_t
)
src
&
0x0f
;
unsigned
x
;
const
unsigned
unaligned
=
(
-
(
uintptr_t
)
src
)
&
0x0f
;
unsigned
x
=
0
;
for
(
x
=
0
;
x
<
unaligned
;
x
++
)
for
(;
x
<
unaligned
;
x
++
)
dst
[
x
]
=
src
[
x
];
#ifdef CAN_COMPILE_SSE4_1
...
...
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