mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Generate a linking error if perror() is used in libav*
Originally committed as revision 11061 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
952062909d
commit
c5a2fe8f1f
@ -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)\
|
||||
|
Loading…
x
Reference in New Issue
Block a user