You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user