Browse Source

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>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
bc4da77b08
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libavutil/internal.h

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


Loading…
Cancel
Save