lavu/internal: define av_restrict if it has not been defined by config.h

This can happen if a application doesnt use ffmpegs configure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-06-17 04:48:57 +02:00
parent fbed9317ff
commit bc4da77b08
1 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,10 @@ struct AVDictionary {
#endif
#endif
#ifndef av_restrict
#define av_restrict restrict
#endif
#ifndef INT16_MIN
#define INT16_MIN (-0x7fff - 1)
#endif