diff options
author | Luca Abeni <lucabe72@email.it> | 2007-11-19 10:40:11 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2007-11-19 10:40:11 +0000 |
commit | c5a2fe8f1f89b3fb6cbdbe7a143e73c7e064715b (patch) | |
tree | 4bfcda672f8607c6ec9cc9f13ab579ace8f89bbd /libavutil | |
parent | 952062909dee8c70ca3fa81ab8f237fb735cbc4f (diff) | |
download | ffmpeg-c5a2fe8f1f89b3fb6cbdbe7a143e73c7e064715b.tar.gz |
Generate a linking error if perror() is used in libav*
Originally committed as revision 11061 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h index 2ed571978a..16f13c4d50 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 perror +#define perror please_use_av_log_instead_of_perror #endif #define CHECKED_ALLOCZ(p, size)\ |