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 cbb8236071f694deb71f87a3ef01449300091ef3..fd6279b602bc2c158780fbbd1e77db83c84ccca6 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