mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-28 05:30:34 +00:00
Use AV_GCC_VERSION_AT_LEAST instead of complicated __GNUC__ version check.
Originally committed as revision 17114 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
949cd9783b
commit
b7d3a8c13f
@ -78,7 +78,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef av_flatten
|
||||
#if defined(__GNUC__) && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ > 0)
|
||||
#if AV_GCC_VERSION_AT_LEAST(4,1)
|
||||
# define av_flatten __attribute__((flatten))
|
||||
#else
|
||||
# define av_flatten
|
||||
|
Loading…
Reference in New Issue
Block a user