Changeset 031cb39a6f015aeaf347a6ec2e5394a258e9e415
- Timestamp:
- 22/07/04 17:45:54
(4 years ago)
- Author:
- Gildas Bazin <gbazin@videolan.org>
- git-committer:
- Gildas Bazin <gbazin@videolan.org> 1090511154 +0000
- git-parent:
[3a4997f56f2b27d9802dadd17ad23b19a036582c]
- git-author:
- Gildas Bazin <gbazin@videolan.org> 1090511154 +0000
- Message:
* modules/video_chroma/i420_rgb.c: work around a gcc-3.3.4 optimization bug.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r636df0d |
r031cb39 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2000, 2001, 2004 VideoLAN |
|---|
| 5 | | * $Id: i420_rgb.c,v 1.7 2004/01/31 05:53:35 rocky Exp $ |
|---|
| | 5 | * $Id$ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Author: Sam Hocevar <sam@zoy.org> |
|---|
| … | … | |
| 266 | 266 | static void SetYUV( vout_thread_t *p_vout ) |
|---|
| 267 | 267 | { |
|---|
| 268 | | int pi_gamma[256]; /* gamma table */ |
|---|
| 269 | | int i_index; /* index in tables */ |
|---|
| | 268 | int pi_gamma[256]; /* gamma table */ |
|---|
| | 269 | volatile int i_index; /* index in tables */ |
|---|
| | 270 | /* We use volatile here to work around a strange gcc-3.3.4 |
|---|
| | 271 | * optimization bug */ |
|---|
| 270 | 272 | |
|---|
| 271 | 273 | /* Build gamma table */ |
|---|