diff --git a/libavutil/internal.h b/libavutil/internal.h
index cbb8236071f694deb71f87a3ef01449300091ef3..fd6279b602bc2c158780fbbd1e77db83c84ccca6 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