mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue