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
031cb39a
Commit
031cb39a
authored
Jul 22, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/video_chroma/i420_rgb.c: work around a gcc-3.3.4 optimization bug.
parent
3a4997f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
modules/video_chroma/i420_rgb.c
modules/video_chroma/i420_rgb.c
+5
-3
No files found.
modules/video_chroma/i420_rgb.c
View file @
031cb39a
...
...
@@ -2,7 +2,7 @@
* i420_rgb.c : YUV to bitmap RGB conversion module for vlc
*****************************************************************************
* Copyright (C) 2000, 2001, 2004 VideoLAN
* $Id
: i420_rgb.c,v 1.7 2004/01/31 05:53:35 rocky Exp
$
* $Id$
*
* Author: Sam Hocevar <sam@zoy.org>
*
...
...
@@ -265,8 +265,10 @@ static void SetGammaTable( int *pi_table, double f_gamma )
*****************************************************************************/
static
void
SetYUV
(
vout_thread_t
*
p_vout
)
{
int
pi_gamma
[
256
];
/* gamma table */
int
i_index
;
/* index in tables */
int
pi_gamma
[
256
];
/* gamma table */
volatile
int
i_index
;
/* index in tables */
/* We use volatile here to work around a strange gcc-3.3.4
* optimization bug */
/* Build gamma table */
SetGammaTable
(
pi_gamma
,
p_vout
->
f_gamma
);
...
...
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