mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-24 12:10:18 +08:00
Simplify: get rid of useless lame_presets_longinfo_dm function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21638 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
+1
-10
@@ -213,7 +213,7 @@ static int lame_presets_set( lame_t gfp, int fast, int cbr, const char* preset_
|
||||
|
||||
if (strcmp(preset_name, "help") == 0) {
|
||||
mp_msg(MSGT_MENCODER, MSGL_FATAL, MSGTR_LameVersion, get_lame_version(), get_lame_url());
|
||||
lame_presets_longinfo_dm(stderr);
|
||||
mp_msg(MSGT_MENCODER, MSGL_FATAL, MSGTR_LamePresetsLongInfo);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -319,12 +319,3 @@ static int lame_presets_set( lame_t gfp, int fast, int cbr, const char* preset_
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MP3LAME_PRESET
|
||||
/* lame_presets_longinfo_dm
|
||||
taken out of presets_longinfo_dm in lame-3.93.1/frontend/parse.c and modified */
|
||||
static void lame_presets_longinfo_dm ( FILE* msgfp )
|
||||
{
|
||||
mp_msg(MSGT_MENCODER, MSGL_FATAL, MSGTR_LamePresetsLongInfo);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user