[MPlayer-cvslog] r30944 - in trunk: mencoder.c mplayer.c path.c path.h

diego subversion at mplayerhq.hu
Sun Mar 21 09:34:10 CET 2010


Author: diego
Date: Sun Mar 21 09:34:09 2010
New Revision: 30944

Log:
Rename SetCodecPath() --> set_codec_path().
This keeps the naming of all path-related functions consistent.

Modified:
   trunk/mencoder.c
   trunk/mplayer.c
   trunk/path.c
   trunk/path.h

Modified: trunk/mencoder.c
==============================================================================
--- trunk/mencoder.c	Sun Mar 21 00:38:27 2010	(r30943)
+++ trunk/mencoder.c	Sun Mar 21 09:34:09 2010	(r30944)
@@ -667,7 +667,7 @@ if (frameno_filename) {
 #endif
 
   if (codec_path)
-    SetCodecPath(codec_path);
+    set_codec_path(codec_path);
 
 // check font
 #ifdef CONFIG_FREETYPE

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Sun Mar 21 00:38:27 2010	(r30943)
+++ trunk/mplayer.c	Sun Mar 21 09:34:09 2010	(r30944)
@@ -2702,7 +2702,7 @@ int gui_no_filename=0;
 #endif
 
   if (codec_path)
-    SetCodecPath(codec_path);
+    set_codec_path(codec_path);
 
 #ifndef CONFIG_GUI
     if(use_gui){

Modified: trunk/path.c
==============================================================================
--- trunk/path.c	Sun Mar 21 00:38:27 2010	(r30943)
+++ trunk/path.c	Sun Mar 21 09:34:09 2010	(r30944)
@@ -180,7 +180,7 @@ char *def_path = BINARY_CODECS_PATH;
 
 static int needs_free = 0;
 
-void SetCodecPath(const char *path)
+void set_codec_path(const char *path)
 {
     if (needs_free)
         free(def_path);

Modified: trunk/path.h
==============================================================================
--- trunk/path.h	Sun Mar 21 00:38:27 2010	(r30943)
+++ trunk/path.h	Sun Mar 21 09:34:09 2010	(r30944)
@@ -25,6 +25,6 @@ extern char *def_path;
 
 char *get_path(const char *filename);
 void set_path_env(void);
-void SetCodecPath(const char *path);
+void set_codec_path(const char *path);
 
 #endif /* MPLAYER_PATH_H */


More information about the MPlayer-cvslog mailing list