comparison libmpcodecs/ve_lavc.c @ 29674:10982a0eac1f

Change type to avoid void * arithmetic.
author reimar
date Fri, 25 Sep 2009 09:44:41 +0000
parents a3cc38ad5878
children e19b989877c6
comparison
equal deleted inserted replaced
29673:a3cc38ad5878 29674:10982a0eac1f
329 329
330 static int config(struct vf_instance_s* vf, 330 static int config(struct vf_instance_s* vf,
331 int width, int height, int d_width, int d_height, 331 int width, int height, int d_width, int d_height,
332 unsigned int flags, unsigned int outfmt){ 332 unsigned int flags, unsigned int outfmt){
333 int size, i; 333 int size, i;
334 void *p; 334 char *p;
335 335
336 mux_v->bih->biWidth=width; 336 mux_v->bih->biWidth=width;
337 mux_v->bih->biHeight=height; 337 mux_v->bih->biHeight=height;
338 mux_v->bih->biSizeImage=mux_v->bih->biWidth*mux_v->bih->biHeight*(mux_v->bih->biBitCount/8); 338 mux_v->bih->biSizeImage=mux_v->bih->biWidth*mux_v->bih->biHeight*(mux_v->bih->biBitCount/8);
339 339