OSDN Git Service

Disallow puts(), av_log() should be used instead.
authorDiego Biurrun <diego@biurrun.de>
Thu, 17 Jan 2008 08:32:31 +0000 (08:32 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 17 Jan 2008 08:32:31 +0000 (08:32 +0000)
Originally committed as revision 11548 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/internal.h

index cbb8236..fd6279b 100644 (file)
@@ -257,6 +257,8 @@ if((y)<(x)){\
 #define printf please_use_av_log
 #undef  fprintf
 #define fprintf please_use_av_log
+#undef  puts
+#define puts please_use_av_log
 #undef  perror
 #define perror please_use_av_log_instead_of_perror
 #endif