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

Eric Lasota riot
Sat Jun 9 17:52:05 CEST 2007


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?

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: elbg_gcc344_fix3.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070609/c6060ef0/attachment.txt>



More information about the ffmpeg-devel mailing list