[Mplayer-cvslog] CVS: main/libvo vo_jpeg.c,1.1,1.2

Alban Bedel albeu at free.fr
Wed Apr 17 14:07:48 CEST 2002


Hi Ponekker Zoltan,

on Wed, 17 Apr 2002 13:25:17 +0200 (CEST) you wrote:

> 
> Hali
> 
> > > -char * jpeg_outdir;
> > > +char * jpeg_outdir = '.';
> > It should be ".", I guess.
> 
>  snprintf (buf, 256, "%s/%08d.jpg", jpeg_outdir, ++framenum);
Pl is rigth it must be "." and not '.'
"." is of type char* but '.' is of type char, it's not the same thing.
The compiler will issue a warning like that :
 warning: initialization makes pointer from integer without a cast
and the prog will segfault.
	Albeu




More information about the MPlayer-cvslog mailing list