[FFmpeg-devel] [PATCH] elbg.c Cygwin compatibility workaround

Michael Niedermayer michaelni
Sat Jun 9 22:35:41 CEST 2007


Hi

On Sat, Jun 09, 2007 at 11:52:05AM -0400, Eric Lasota wrote:
> matthieu castet wrote:
> >AFAIK centroid[3][] should also work without the need to change the code.
> elbg.c: In function `simple_lbg':
> elbg.c:134: error: invalid use of array with unspecified bounds
> elbg.c:135: error: invalid use of array with unspecified bounds
> etc.
> 
> 
> Michael Niedermayer wrote:
> >int *newcentroid_ptrs[3] ={newcentroid[0], ...[1], ...[2]};
> >  
> 
> How's this?

looks ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070609/dbc70392/attachment.pgp>



More information about the ffmpeg-devel mailing list