[vlc-commits] h264_nal: include limits.h for INT_MAX

Jean-Baptiste Kempf git at videolan.org
Mon Oct 8 18:20:42 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Oct  8 18:19:52 2012 +0200| [6c1febea5d0c48ff424e0cc5681274b2c6f29eae] | committer: Jean-Baptiste Kempf

h264_nal: include limits.h for INT_MAX

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6c1febea5d0c48ff424e0cc5681274b2c6f29eae
---

 modules/codec/h264_nal.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/codec/h264_nal.h b/modules/codec/h264_nal.h
index 313fe13..f6e29ac 100644
--- a/modules/codec/h264_nal.h
+++ b/modules/codec/h264_nal.h
@@ -18,6 +18,8 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#include <limits.h>
+
 /* Parse the SPS/PPS Metadata and convert it to annex b format */
 static int convert_sps_pps( decoder_t *p_dec, const uint8_t *p_buf,
                             uint32_t i_buf_size, uint8_t *p_out_buf,



More information about the vlc-commits mailing list