[FFmpeg-devel] [PATCH] elbg.c Cygwin compatibility workaround
Michael Niedermayer
michaelni
Sat Jun 9 14:11:08 CEST 2007
Hi
On Sat, Jun 09, 2007 at 01:07:13PM +0200, matthieu castet wrote:
> 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.
i doubt it ...
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- 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/fe6ef151/attachment.pgp>
More information about the ffmpeg-devel
mailing list