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

Felix Buenemann atmosfear at users.sourceforge.net
Fri Aug 24 00:27:05 CEST 2001


On Thursday, 23. August 2001 23:10, Arpi of Ize wrote:
> Update of /cvsroot/mplayer/main
> In directory mplayer:/var/tmp.root/cvs-serv24730
>
> Modified Files:
> 	aviheader.c
> Log Message:
> print AVI info block (copyright,artist etc) (-v only)
>
> Index: aviheader.c
> ===================================================================
> 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?

-- 
Best Regards,
	Atmos

_____
Software is like sex: it's better when it's free.
	- Linus Torvalds




More information about the MPlayer-cvslog mailing list