[vlc-commits] h264_nal: add header guard
Felix Abecassis
git at videolan.org
Fri Aug 1 11:24:14 CEST 2014
vlc | branch: master | Felix Abecassis <felix.abecassis at gmail.com> | Fri Aug 1 11:18:31 2014 +0200| [d357138136e01693675d577e5fad67f73d64e563] | committer: Felix Abecassis
h264_nal: add header guard
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d357138136e01693675d577e5fad67f73d64e563
---
modules/codec/h264_nal.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/modules/codec/h264_nal.h b/modules/codec/h264_nal.h
index 21a34be..f39e28b 100644
--- a/modules/codec/h264_nal.h
+++ b/modules/codec/h264_nal.h
@@ -18,6 +18,9 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
+#ifndef H264_NAL_H
+# define H264_NAL_H
+
# ifdef HAVE_CONFIG_H
# include "config.h"
# endif
@@ -44,3 +47,5 @@ void convert_h264_to_annexb( uint8_t *p_buf, uint32_t i_len,
/* Get level and Profile */
bool h264_get_profile_level(const es_format_t *p_fmt, size_t *p_profile,
size_t *p_level, size_t *p_nal_size);
+
+#endif /* H264_NAL_H */
More information about the vlc-commits
mailing list