aboutsummaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorDiego Biurrun2008-01-17 08:32:31 +0000
committerDiego Biurrun2008-01-17 08:32:31 +0000
commit59ec6991aca92c8ed13e85b6809b46ec87c6884a (patch)
tree841999219ca46b97bb6c9c516778d02f71d0dcb5 /libavutil
parentf9cac0a778fbbd0c3c3689c4a946a1ecc2afd0c4 (diff)
Disallow puts(), av_log() should be used instead.
Originally committed as revision 11548 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h
index cbb8236071..fd6279b602 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -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