[FFmpeg-cvslog] r11061 - trunk/libavutil/internal.h
lucabe
subversion
Mon Nov 19 11:40:11 CET 2007
Author: lucabe
Date: Mon Nov 19 11:40:11 2007
New Revision: 11061
Log:
Generate a linking error if perror() is used in libav*
Modified:
trunk/libavutil/internal.h
Modified: trunk/libavutil/internal.h
==============================================================================
--- trunk/libavutil/internal.h (original)
+++ trunk/libavutil/internal.h Mon Nov 19 11:40:11 2007
@@ -257,6 +257,8 @@ if((y)<(x)){\
#define printf please_use_av_log
#undef fprintf
#define fprintf please_use_av_log
+#undef perror
+#define perror please_use_av_log_instead_of_perror
#endif
#define CHECKED_ALLOCZ(p, size)\
More information about the ffmpeg-cvslog
mailing list