Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
08e84310
Commit
08e84310
authored
Mar 04, 2004
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modules/video_filter/deinterlace/deinterlace.c:
* Fixed a sse2 crash related to a non-16byte aligned pointer
parent
b62e621e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
modules/video_filter/deinterlace/deinterlace.c
modules/video_filter/deinterlace/deinterlace.c
+5
-1
No files found.
modules/video_filter/deinterlace/deinterlace.c
View file @
08e84310
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* deinterlace.c : deinterlacer plugin for vlc
* deinterlace.c : deinterlacer plugin for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000, 2001, 2002, 2003 VideoLAN
* Copyright (C) 2000, 2001, 2002, 2003 VideoLAN
* $Id: deinterlace.c,v 1.2
4 2004/02/13 10:42:24 titer
Exp $
* $Id: deinterlace.c,v 1.2
5 2004/03/04 22:47:42 sigmunau
Exp $
*
*
* Author: Sam Hocevar <sam@zoy.org>
* Author: Sam Hocevar <sam@zoy.org>
*
*
...
@@ -891,6 +891,10 @@ static void MergeSSE2( void *_p_dest, const void *_p_s1, const void *_p_s2,
...
@@ -891,6 +891,10 @@ static void MergeSSE2( void *_p_dest, const void *_p_s1, const void *_p_s2,
uint8_t
*
p_dest
=
(
uint8_t
*
)
_p_dest
;
uint8_t
*
p_dest
=
(
uint8_t
*
)
_p_dest
;
const
uint8_t
*
p_s1
=
(
const
uint8_t
*
)
_p_s1
;
const
uint8_t
*
p_s1
=
(
const
uint8_t
*
)
_p_s1
;
const
uint8_t
*
p_s2
=
(
const
uint8_t
*
)
_p_s2
;
const
uint8_t
*
p_s2
=
(
const
uint8_t
*
)
_p_s2
;
while
(
(
int
)
p_s1
%
16
)
{
*
p_dest
++
=
(
(
uint16_t
)(
*
p_s1
++
)
+
(
uint16_t
)(
*
p_s2
++
)
)
>>
1
;
}
uint8_t
*
p_end
=
p_dest
+
i_bytes
-
16
;
uint8_t
*
p_end
=
p_dest
+
i_bytes
-
16
;
while
(
p_dest
<
p_end
)
while
(
p_dest
<
p_end
)
{
{
...
...
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