Define av_alias if supported by compiler

Originally committed as revision 21523 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-01-29 03:26:14 +00:00
parent dffb41b953
commit 788627dea6
1 changed files with 8 additions and 0 deletions

View File

@ -55,6 +55,14 @@
#endif
#endif
#ifndef av_alias
#if HAVE_ATTRIBUTE_MAY_ALIAS
# define av_alias __attribute__((may_alias))
#else
# define av_alias
#endif
#endif
#ifndef INT16_MIN
#define INT16_MIN (-0x7fff - 1)
#endif