[MPlayer-cvslog] r29744 - in trunk/libmpcodecs: ad_twin.c vf_screenshot.c

diego subversion at mplayerhq.hu
Thu Oct 1 01:47:01 CEST 2009


Author: diego
Date: Thu Oct  1 01:47:00 2009
New Revision: 29744

Log:
Mark some functions that do not need external visibility as static.
patch by Alexander Neumann, alexander bumpern de

Modified:
   trunk/libmpcodecs/ad_twin.c
   trunk/libmpcodecs/vf_screenshot.c

Modified: trunk/libmpcodecs/ad_twin.c
==============================================================================
--- trunk/libmpcodecs/ad_twin.c	Wed Sep 30 20:45:02 2009	(r29743)
+++ trunk/libmpcodecs/ad_twin.c	Thu Oct  1 01:47:00 2009	(r29744)
@@ -184,7 +184,7 @@ void uninit(sh_audio_t *sh)
   FreeLibrary(vqf_dll);
 }
 
-int control(sh_audio_t *sh_audio,int cmd,void* arg, ...)
+static int control(sh_audio_t *sh_audio,int cmd,void* arg, ...)
 {
   switch(cmd) {
       case ADCTRL_QUERY_FORMAT:

Modified: trunk/libmpcodecs/vf_screenshot.c
==============================================================================
--- trunk/libmpcodecs/vf_screenshot.c	Wed Sep 30 20:45:02 2009	(r29743)
+++ trunk/libmpcodecs/vf_screenshot.c	Thu Oct  1 01:47:00 2009	(r29744)
@@ -204,7 +204,7 @@ static int put_image(struct vf_instance_
     return vf_next_put_image(vf, dmpi, pts);
 }
 
-int control (vf_instance_t *vf, int request, void *data)
+static int control (vf_instance_t *vf, int request, void *data)
 {
     /** data contains an integer argument
      * 0: take screenshot with the next frame


More information about the MPlayer-cvslog mailing list