Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
515e0f2b
Commit
515e0f2b
authored
Nov 22, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./modules/video_chroma/i420_rgb16.c: fixed a segfault in the 24/32bpp
chroma conversion.
parent
a9bc769e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/video_chroma/i420_rgb16.c
modules/video_chroma/i420_rgb16.c
+2
-2
No files found.
modules/video_chroma/i420_rgb16.c
View file @
515e0f2b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* i420_rgb16.c : YUV to bitmap RGB conversion module for vlc
* i420_rgb16.c : YUV to bitmap RGB conversion module for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000 VideoLAN
* Copyright (C) 2000 VideoLAN
* $Id: i420_rgb16.c,v 1.
2 2002/11/20 13:37:36
sam Exp $
* $Id: i420_rgb16.c,v 1.
3 2002/11/22 12:11:38
sam Exp $
*
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Authors: Samuel Hocevar <sam@zoy.org>
*
*
...
@@ -323,7 +323,7 @@ void E_(I420_RGB32)( vout_thread_t *p_vout, picture_t *p_src,
...
@@ -323,7 +323,7 @@ void E_(I420_RGB32)( vout_thread_t *p_vout, picture_t *p_src,
int
i_right_margin
;
int
i_right_margin
;
int
i_rewind
;
int
i_rewind
;
int
i_scale_count
;
/* scale modulo counter */
int
i_scale_count
;
/* scale modulo counter */
int
i_chroma_width
=
p_vout
->
render
.
i_width
/
4
;
/* chroma width */
int
i_chroma_width
=
p_vout
->
render
.
i_width
/
2
;
/* chroma width */
u32
*
p_pic_start
;
/* beginning of the current line for copy */
u32
*
p_pic_start
;
/* beginning of the current line for copy */
#if defined (MODULE_NAME_IS_i420_rgb)
#if defined (MODULE_NAME_IS_i420_rgb)
int
i_uval
,
i_vval
;
/* U and V samples */
int
i_uval
,
i_vval
;
/* U and V samples */
...
...
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