]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/mem.h
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavutil / mem.h
index 179e12f32f7734287dc71d571b441543266ab608..c6c907ea089cb9878281f4839ca2a9bd208fe1c7 100644 (file)
 #include "error.h"
 #include "avutil.h"
 
+/**
+ * @addtogroup lavu_mem
+ * @{
+ */
+
+
 #if defined(__INTEL_COMPILER) && __INTEL_COMPILER < 1110 || defined(__SUNPRO_C)
     #define DECLARE_ALIGNED(n,t,v)      t __attribute__ ((aligned (n))) v
     #define DECLARE_ASM_CONST(n,t,v)    const t __attribute__ ((aligned (n))) v
@@ -170,4 +176,13 @@ static inline int av_size_mult(size_t a, size_t b, size_t *r)
     return 0;
 }
 
+/**
+ * Set the maximum size that may me allocated in one block.
+ */
+void av_max_alloc(size_t max);
+
+/**
+ * @}
+ */
+
 #endif /* AVUTIL_MEM_H */