[vlc-commits] mp4: include limits.h for SSIZE_MAX.

Konstantin Pavlov git at videolan.org
Sun Feb 18 11:47:38 CET 2018


vlc/vlc-3.0 | branch: master | Konstantin Pavlov <thresh at videolan.org> | Sun Feb 11 17:14:33 2018 +0300| [666789f2cc2b756a44009f206e057afb72f80100] | committer: Konstantin Pavlov

mp4: include limits.h for SSIZE_MAX.

(cherry picked from commit 8311cdc09fa06a192cc5ca34368d2116e57bb936)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=666789f2cc2b756a44009f206e057afb72f80100
---

 modules/demux/mp4/libmp4.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 9f5fc5d910..7f2b843e2d 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -36,6 +36,7 @@
 #include "languages.h"
 #include <math.h>
 #include <assert.h>
+#include <limits.h>
 
 /* Some assumptions:
  * The input method HAS to be seekable



More information about the vlc-commits mailing list