[Mplayer-cvslog] CVS: main aviheader.c,1.25,1.26

Arpi arpi at thot.banki.hu
Fri Aug 24 10:11:55 CEST 2001


Hi,

> > ===================================================================
> > RCS file: /cvsroot/mplayer/main/aviheader.c,v
> > retrieving revision 1.25
> > retrieving revision 1.26
> > diff -u -r1.25 -r1.26
> > --- aviheader.c	17 Aug 2001 00:40:25 -0000	1.25
> > +++ aviheader.c	23 Aug 2001 21:10:31 -0000	1.26
> [snip]
> > +    case mmioFOURCC('I','S','F','T'): hdr="Software";break;
> > +    case mmioFOURCC('I','N','A','M'): hdr="Name";break;
> > +    case mmioFOURCC('I','S','B','J'): hdr="Subject";break;
> > +    case mmioFOURCC('I','A','R','T'): hdr="Artist";break;
> > +    case mmioFOURCC('I','C','O','P'): hdr="Copyright";break;
> > +    case mmioFOURCC('I','C','M','T'): hdr="Comment";break;
> don't you need to allocate memory for hdr here first?
why?
hdr is char pointer, and i set it to constant value.


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-cvslog mailing list