[FFmpeg-devel] [PATCH] elbg.c Cygwin compatibility workaround
matthieu castet
castet.matthieu
Sat Jun 9 13:07:13 CEST 2007
Hi,
Michael Niedermayer wrote:
> Hi
>
>> Index: libavcodec/elbg.c
>> ===================================================================
>> --- libavcodec/elbg.c (revision 9260)
>> +++ libavcodec/elbg.c (working copy)
>> @@ -115,7 +115,7 @@
>> * Implementation of the simple LBG algorithm for just two codebooks
>> */
>> static int simple_lbg(int dim,
>> - int centroid[3][dim],
>> + int centroid[], // [3][dim]
>> int newutility[3],
>> int *points,
>> cell *cells)
>
> i think it should rather be int *centroid[3]
>
AFAIK centroid[3][] should also work without the need to change the code.
Matthieu
More information about the ffmpeg-devel
mailing list