[Mplayer-cvslog] CVS: main/libmpcodecs mp_image.h,1.21,1.22

Arpi arpi at thot.banki.hu
Sat Jan 4 02:19:03 CET 2003


Hi,

argh.
NEVER EVER add #include line sto .h files!
fix it where it's included.

commit reversed.

> Update of /cvsroot/mplayer/main/libmpcodecs
> In directory mail:/var/tmp.root/cvs-serv9929/libmpcodecs
> 
> Modified Files:
> 	mp_image.h 
> Log Message:
> Added required includes.
> 
> 
> Index: mp_image.h
> ===================================================================
> RCS file: /cvsroot/mplayer/main/libmpcodecs/mp_image.h,v
> retrieving revision 1.21
> retrieving revision 1.22
> diff -u -r1.21 -r1.22
> --- mp_image.h	30 Oct 2002 20:50:10 -0000	1.21
> +++ mp_image.h	4 Jan 2003 01:17:04 -0000	1.22
> @@ -1,6 +1,13 @@
>  #ifndef __MP_IMAGE_H
>  #define __MP_IMAGE_H 1
>  
> +#include <stdlib.h>
> +#include <string.h>
> +
> +#ifdef HAVE_MALLOC_H
> +#include <malloc.h>
> +#endif
> +
>  //--------- codec's requirements (filled by the codec/vf) ---------
>  
>  //--- buffer content restrictions:
> 
> _______________________________________________
> Mplayer-cvslog mailing list
> Mplayer-cvslog at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog
> 
> 


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu


More information about the MPlayer-cvslog mailing list