[FFmpeg-cvslog] lavu/internal: define av_restrict if it has not been defined by config.h

Michael Niedermayer git at videolan.org
Sun Jun 17 05:02:20 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jun 17 04:48:57 2012 +0200| [bc4da77b081b9bf60310c292c2f90330c4ffa04b] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bc4da77b081b9bf60310c292c2f90330c4ffa04b
---

 libavutil/internal.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavutil/internal.h b/libavutil/internal.h
index 5d37da7..bfc0f8e 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



More information about the ffmpeg-cvslog mailing list