[MPlayer-dev-eng] last printf in libaf

Reynaldo H. Verdejo Pinochet reynaldo at opendot.cl
Tue Mar 14 02:04:38 CET 2006


Hope is ok to commit, is the last one on libaf

  Reynaldo

-------------- next part --------------
? cscope.out
Index: help/help_mp-en.h
===================================================================
RCS file: /cvsroot/mplayer/main/help/help_mp-en.h,v
retrieving revision 1.223
diff -a -u -r1.223 help_mp-en.h
--- help/help_mp-en.h	1 Mar 2006 10:01:42 -0000	1.223
+++ help/help_mp-en.h	14 Mar 2006 01:01:24 -0000
@@ -1158,6 +1158,10 @@
 #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
Index: libaf/format.c
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/format.c,v
retrieving revision 1.3
diff -a -u -r1.3 format.c
--- libaf/format.c	18 Aug 2005 11:37:16 -0000	1.3
+++ libaf/format.c	14 Mar 2006 01:01:26 -0000
@@ -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 @@
     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{
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060313/2cabc797/attachment.pgp>


More information about the MPlayer-dev-eng mailing list