aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-17 04:48:57 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-17 04:48:57 +0200
commitbc4da77b081b9bf60310c292c2f90330c4ffa04b (patch)
tree031e6bd94eb805e63ec2b42ecb286bc0f491a574 /libavutil/internal.h
parentfbed9317ff1ab463a9b9e0d896b13b908d9a9c43 (diff)
downloadffmpeg-bc4da77b081b9bf60310c292c2f90330c4ffa04b.tar.gz
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>
Diffstat (limited to 'libavutil/internal.h')
-rw-r--r--libavutil/internal.h4
1 files changed, 4 insertions, 0 deletions
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