changeset 21622:5cd2a0041019

Simplify: get rid of useless lame_presets_longinfo_dm function.
author reimar
date Sat, 16 Dec 2006 20:02:26 +0000
parents 28ade900407d
children c6631583d68d
files libmpcodecs/ae_lame.c
diffstat 1 files changed, 1 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ae_lame.c	Sat Dec 16 19:59:37 2006 +0000
+++ b/libmpcodecs/ae_lame.c	Sat Dec 16 20:02:26 2006 +0000
@@ -213,7 +213,7 @@
 
     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 @@
     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