AW: [XviD-devel] win32 xvid_stat crash

Edouard Gomez xvid-devel@xvid.org
Sat, 21 Sep 2002 10:57:10 +0200


peter ross (suxen_drol@hotmail.com) wrote:
> the following causes win32 access violations:
> static VLC intra_table[524032];
> static VLC inter_table[524032];
> 
> while the following doesnt:
> VLC intra_table[524032];
> VLC inter_table[524032];
 
If this  is the bug... rofl,  i never thought a  const qualifier could
ever spot a compiler bug like this one.

Btw,  enclose the  non  static version  with  #ifdef _MSC_VER  because
static avoid space name polution where it's possible.

-- 
Edouard Gomez