summaryrefslogtreecommitdiff
path: root/libavutil/attributes.h
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-10-26 20:26:29 +0200
committerJanne Grunau <janne-libav@jannau.net>2012-11-25 23:02:04 +0100
commite96d90eed66a198566c409958432d282e1b03869 (patch)
treee22240bf2fe017cc2c1a679df61a303275e66760 /libavutil/attributes.h
parent610e00b3594bf0f2a75713f20e9c4edf0d03a818 (diff)
remove #defines to prevent use of discouraged external functions
Preventing the use of discouraged or 'insecure' external functions through defines in an internal header is not a good solution. The header is not guaranteed to be included universally which makes overlooking bad use of said functions during review more likely. There are cases were those functions either are the most straight forward solution or even have to be used. Using malloc or free is required if the allocation or release is done by other libraries.
Diffstat (limited to 'libavutil/attributes.h')
0 files changed, 0 insertions, 0 deletions