[vlc-devel] [PATCH 21/28] modules/codec: fixed include-guards
Filip Roséen
filip at atch.se
Sat Feb 20 23:20:26 CET 2016
* renamed include-guards to fix issues with reserved identifiers
---
modules/codec/a52.h | 4 ++--
modules/codec/cc.h | 4 ++--
modules/codec/mft.c | 2 ++
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/modules/codec/a52.h b/modules/codec/a52.h
index 00078d3..0cc2ecc 100644
--- a/modules/codec/a52.h
+++ b/modules/codec/a52.h
@@ -24,8 +24,8 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-#ifndef _VLC_A52_H
-#define _VLC_A52_H 1
+#ifndef CODEC__A52_H_
+#define CODEC__A52_H_
#include <vlc_bits.h>
diff --git a/modules/codec/cc.h b/modules/codec/cc.h
index d92602b..6bf76b2 100644
--- a/modules/codec/cc.h
+++ b/modules/codec/cc.h
@@ -21,8 +21,8 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-#ifndef _CC_H
-#define _CC_H 1
+#ifndef CODEC__CC_H_
+#define CODEC__CC_H_
#include <vlc_bits.h>
diff --git a/modules/codec/mft.c b/modules/codec/mft.c
index 7c6956c..a6338d2 100644
--- a/modules/codec/mft.c
+++ b/modules/codec/mft.c
@@ -54,6 +54,8 @@
static int Open(vlc_object_t *);
static void Close(vlc_object_t *);
+
+
vlc_module_begin()
set_description(N_("Media Foundation Transform decoder"))
add_shortcut("mft")
--
2.7.1
More information about the vlc-devel
mailing list