1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-01 00:07:33 +00:00

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
This commit is contained in:
diego 2010-03-21 08:34:09 +00:00
parent 70c66c0476
commit d84999d480
4 changed files with 4 additions and 4 deletions

View File

@ -667,7 +667,7 @@ if (frameno_filename) {
#endif
if (codec_path)
SetCodecPath(codec_path);
set_codec_path(codec_path);
// check font
#ifdef CONFIG_FREETYPE

View File

@ -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){

2
path.c
View File

@ -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);

2
path.h
View File

@ -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 */