[FFmpeg-cvslog] lavu/avassert: include config.h

Nicolas George git at videolan.org
Wed Jul 12 16:58:58 EEST 2023


ffmpeg | branch: master | Nicolas George <george at nsup.org> | Wed Apr 26 14:29:29 2023 +0200| [ca9ec4e7ed64e222b2045e66b1000c7f88ea696e] | committer: Nicolas George

lavu/avassert: include config.h

Fix setting the assert level.

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

 libavutil/avassert.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavutil/avassert.h b/libavutil/avassert.h
index 51e462bbae..1895fb7551 100644
--- a/libavutil/avassert.h
+++ b/libavutil/avassert.h
@@ -28,6 +28,9 @@
 #define AVUTIL_AVASSERT_H
 
 #include <stdlib.h>
+#ifdef HAVE_AV_CONFIG_H
+#   include "config.h"
+#endif
 #include "log.h"
 #include "macros.h"
 



More information about the ffmpeg-cvslog mailing list