summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-21 08:34:09 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-21 08:34:09 +0000
commitd84999d4800942d0ca099ba565e138423dc0d7da (patch)
tree8d800ad9c248e5d20a58d52454c6a61f05c9935e
parent70c66c04764421ca277c341657c556cb0f00ec9b (diff)
downloadmpv-d84999d4800942d0ca099ba565e138423dc0d7da.tar.bz2
mpv-d84999d4800942d0ca099ba565e138423dc0d7da.tar.xz
Rename SetCodecPath() --> set_codec_path().
This keeps the naming of all path-related functions consistent. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30944 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--mencoder.c2
-rw-r--r--mplayer.c2
-rw-r--r--path.c2
-rw-r--r--path.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/mencoder.c b/mencoder.c
index 8b8b76c0ba..c20e7a9eb8 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -667,7 +667,7 @@ if (frameno_filename) {
#endif
if (codec_path)
- SetCodecPath(codec_path);
+ set_codec_path(codec_path);
// check font
#ifdef CONFIG_FREETYPE
diff --git a/mplayer.c b/mplayer.c
index 4c4f4d8f2e..664fdb7ef0 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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){
diff --git a/path.c b/path.c
index 495f292af9..83da4ee8d2 100644
--- a/path.c
+++ b/path.c
@@ -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);
diff --git a/path.h b/path.h
index fe7c0c6c85..233c6094e1 100644
--- a/path.h
+++ b/path.h
@@ -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 */