[FFmpeg-cvslog] r12652 - trunk/libavcodec/escape124.c

Måns Rullgård mans
Mon Mar 31 21:28:23 CEST 2008


michael <subversion at mplayerhq.hu> writes:

> Author: michael
> Date: Mon Mar 31 18:43:27 2008
> New Revision: 12652
>
> Log:
> help gcc-2.95
>
> Modified:
>    trunk/libavcodec/escape124.c
>
> Modified: trunk/libavcodec/escape124.c
> ==============================================================================
> --- trunk/libavcodec/escape124.c	(original)
> +++ trunk/libavcodec/escape124.c	Mon Mar 31 18:43:27 2008
> @@ -37,7 +37,7 @@ typedef union SuperBlock {
>  typedef struct CodeBook {
>      unsigned depth;
>      unsigned size;
> -    MacroBlock blocks[];
> +    MacroBlock blocks[0];
>  } CodeBook;

This is not valid C99 or C90.  It is an evil, and useless, gcc
extension.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-cvslog mailing list