From bc4da77b081b9bf60310c292c2f90330c4ffa04b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 17 Jun 2012 04:48:57 +0200 Subject: [PATCH] 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 --- libavutil/internal.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavutil/internal.h b/libavutil/internal.h index 5d37da7b45..bfc0f8e519 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -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