mirror of https://git.ffmpeg.org/ffmpeg.git
attributes: move av_restrict fallback from internal to attributes
This should fix --enable-hardcoded-tables Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
40ffbf20d8
commit
5015c37b7d
|
@ -72,6 +72,10 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef av_restrict
|
||||||
|
#define av_restrict restrict
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef av_const
|
#ifndef av_const
|
||||||
#if AV_GCC_VERSION_AT_LEAST(2,6)
|
#if AV_GCC_VERSION_AT_LEAST(2,6)
|
||||||
# define av_const __attribute__((const))
|
# define av_const __attribute__((const))
|
||||||
|
|
|
@ -53,10 +53,6 @@ struct AVDictionary {
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef av_restrict
|
|
||||||
#define av_restrict restrict
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef INT16_MIN
|
#ifndef INT16_MIN
|
||||||
#define INT16_MIN (-0x7fff - 1)
|
#define INT16_MIN (-0x7fff - 1)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue