diff options
author | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-14 16:57:16 +0000 |
---|---|---|
committer | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-14 16:57:16 +0000 |
commit | bfcb1f80f125d25f9f40c5244ed6536176700bf8 (patch) | |
tree | 838c8ddd7608ab7b5df521ae920a26a73642de26 | |
parent | 0e8dd7511d7dd5af605fd611f7a3297025c848f7 (diff) | |
download | mpv-bfcb1f80f125d25f9f40c5244ed6536176700bf8.tar.bz2 mpv-bfcb1f80f125d25f9f40c5244ed6536176700bf8.tar.xz |
last print on libaf to af_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17864 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | help/help_mp-en.h | 4 | ||||
-rw-r--r-- | libaf/format.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/help/help_mp-en.h b/help/help_mp-en.h index 208adda3fe..98d7e7adb7 100644 --- a/help/help_mp-en.h +++ b/help/help_mp-en.h @@ -1158,6 +1158,10 @@ static char help_text[]= #define MSGTR_AF_LADSPA_ErrControlBelow "%s: Input control #%d is below lower boundary of %0.4f.\n" #define MSGTR_AF_LADSPA_ErrControlAbove "%s: Input control #%d is above upper boundary of %0.4f.\n" +// af_format.c + +#define MSGTR_AF_FORMAT_UnknownSpecial "Unknown special\n" + // ========================== INPUT ========================================= // joystick.c diff --git a/libaf/format.c b/libaf/format.c index af36dfcf47..1ad5f9e7de 100644 --- a/libaf/format.c +++ b/libaf/format.c @@ -16,6 +16,7 @@ #include <limits.h> #include "af.h" +#include "help_mp.h" // Convert from string to format int af_str2fmt(char* str) @@ -113,7 +114,7 @@ char* af_fmt2str(int format, char* str, int size) case(AF_FORMAT_IMA_ADPCM): i+=snprintf(&str[i],size-i,"IMA-ADPCM "); break; default: - printf("Unknown special\n"); + af_msg(AF_MSG_ERROR,MSGTR_AF_FORMAT_UnknownSpecial); } } else{ |