Changeset 031cb39a6f015aeaf347a6ec2e5394a258e9e415

Show
Ignore:
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
  • modules/video_chroma/i420_rgb.c

    r636df0d r031cb39  
    33 ***************************************************************************** 
    44 * Copyright (C) 2000, 2001, 2004 VideoLAN 
    5  * $Id: i420_rgb.c,v 1.7 2004/01/31 05:53:35 rocky Exp
     5 * $Id
    66 * 
    77 * Author: Sam Hocevar <sam@zoy.org> 
     
    266266static void SetYUV( vout_thread_t *p_vout ) 
    267267{ 
    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 */ 
    270272 
    271273    /* Build gamma table */