[x264-devel] [Git][videolan/x264][master] Add a missing include of stdlib.h

Anton Mitrofanov gitlab at videolan.org
Mon Oct 26 08:56:53 CET 2020



Anton Mitrofanov pushed to branch master at VideoLAN / x264


Commits:
4121277b by Martin Storsjö at 2020-10-26T09:42:20+02:00
Add a missing include of stdlib.h

Since 7ab4c928ef4511ea5753a36a57c3506d9fd5086b, osdep.h contains
calls to malloc/free.

This fixes building with MSVC targeting WinRT.

- - - - -


1 changed file:

- common/osdep.h


Changes:

=====================================
common/osdep.h
=====================================
@@ -34,6 +34,7 @@
 #include <sys/stat.h>
 #include <inttypes.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #include "config.h"
 



View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/4121277b40a667665d4eea1726aefdc55d12d110

-- 
View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/4121277b40a667665d4eea1726aefdc55d12d110
You're receiving this email because of your account on code.videolan.org.




More information about the x264-devel mailing list