Browse Source

Define av_alias if supported by compiler

Originally committed as revision 21523 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Måns Rullgård 16 years ago
parent
commit
788627dea6
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      libavutil/internal.h

+ 8
- 0
libavutil/internal.h 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


Loading…
Cancel
Save