Bonjour,
Voila mon prog :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 
void motion_estim(image *img1,image *img2,int *xVector,int *yVector)
{
 mblock_t bcurr, bref;      /* macrobblocks to be averaged */ 
  int   width,          /* width of image */
        height,         /* height of image */ 
        x, y,           /* block loop indexes */
       // i, j,           /* pixel loop indexes */
        xcurr,ycurr,          /* block current frame */
        S;   
 
&xVector=x; // lignes ou il y a l'erreur lvalue in assignement
&yVector=y;
}
Je voudrais retourner les 2 point x et y de la fonction.
pourquoi me fait il cette erreur ?
./MOTION.c: In function `motion_estim':
./MOTION.c:291: error: invalid lvalue in assignment
./MOTION.c:292: error: invalid lvalue in assignment