[Mplayer-cvslog] CVS: main spudec.h,1.14,1.15 vobsub.c,1.27,1.28

Arpi arpi at thot.banki.hu
Fri Feb 28 21:24:52 CET 2003


Hi,

> Update of /cvsroot/mplayer/main
> In directory mail:/var/tmp.root/cvs-serv30889
> 
> Modified Files:
> 	spudec.h vobsub.c 
> Log Message:
> supdec.h needs libvo/video_out.h.  vobsub.c does not.

1000l.

NEVER put #include *.h files into .h files!!!

put the #include to the .c filed which requires it.

> 
> 
> Index: spudec.h
> ===================================================================
> RCS file: /cvsroot/mplayer/main/spudec.h,v
> retrieving revision 1.14
> retrieving revision 1.15
> diff -u -r1.14 -r1.15
> --- spudec.h	14 Aug 2002 21:28:17 -0000	1.14
> +++ spudec.h	28 Feb 2003 19:21:45 -0000	1.15
> @@ -1,6 +1,8 @@
>  #ifndef _MPLAYER_SPUDEC_H
>  #define _MPLAYER_SPUDEC_H
>  
> +#include "libvo/video_out.h"
> +
>  void spudec_heartbeat(void *this, unsigned int pts100);
>  void spudec_assemble(void *this, unsigned char *packet, unsigned int len, unsigned int pts100);
>  void spudec_draw(void *this, void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
> 
> Index: vobsub.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/vobsub.c,v
> retrieving revision 1.27
> retrieving revision 1.28
> diff -u -r1.27 -r1.28
> --- vobsub.c	28 Feb 2003 08:17:54 -0000	1.27
> +++ vobsub.c	28 Feb 2003 19:21:45 -0000	1.28
> @@ -18,7 +18,6 @@
>  #include "version.h"
>  
>  #include "vobsub.h"
> -#include "libvo/video_out.h"
>  #include "spudec.h"
>  #include "mp_msg.h"
>  #ifdef USE_UNRARLIB
> 
> _______________________________________________
> 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
    "However, many people beg for its inclusion in Debian. Why?" - Gabucino
  "Because having new software in Debian is good." - Josselin Mouette
"Because having good software in Debian is new." - Gabucino


More information about the MPlayer-cvslog mailing list