Commit 1d734128 authored by diego's avatar diego

Revert addition of '#undef av_always_inline' to config.h in the small case.

Instead, #include config.h at the top of common.h so that av_always_inline
does not get doubly defined.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19553 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fe73eb41
......@@ -2655,7 +2655,6 @@ print_config CONFIG_ $TMPH config.mak $CONFIG_LIST \
echo "#define restrict $_restrict" >> $TMPH
if enabled small; then
echo "#undef av_always_inline" >> $TMPH
echo "#define av_always_inline" >> $TMPH
fi
......
......@@ -35,6 +35,10 @@
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_AV_CONFIG_H
#include "config.h"
#endif
#ifdef __GNUC__
# define AV_GCC_VERSION_AT_LEAST(x,y) (__GNUC__ > x || __GNUC__ == x && __GNUC_MINOR__ >= y)
#else
......@@ -280,7 +284,6 @@ static inline av_const float av_clipf(float a, float amin, float amax)
#include "mem.h"
#ifdef HAVE_AV_CONFIG_H
# include "config.h"
# include "internal.h"
#endif /* HAVE_AV_CONFIG_H */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment