mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 04:12:25 +00: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:
parent
c66f1237a5
commit
8e1126d26e
@ -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) {
|
if (strcmp(preset_name, "help") == 0) {
|
||||||
mp_msg(MSGT_MENCODER, MSGL_FATAL, MSGTR_LameVersion, get_lame_version(), get_lame_url());
|
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;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -319,12 +319,3 @@ static int lame_presets_set( lame_t gfp, int fast, int cbr, const char* preset_
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
#endif
|
#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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user