Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2016-01-29 05:00:33 +0300
committerTimothy Gu <timothygu99@gmail.com>2016-01-29 06:49:48 +0300
commit44304ae3220f553d0b1458644e2a617ea1ad8d22 (patch)
tree90f08e24290d98cce881b05fce33fa9bcecbcea4 /libavdevice
parent6bc610b39efed743a8616104ce59c860f20487ef (diff)
all: Add missing header guards
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/decklink_common.h4
-rw-r--r--libavdevice/decklink_common_c.h4
-rw-r--r--libavdevice/decklink_dec.h5
-rw-r--r--libavdevice/decklink_enc.h5
4 files changed, 18 insertions, 0 deletions
diff --git a/libavdevice/decklink_common.h b/libavdevice/decklink_common.h
index 076c62506b..1e266d5478 100644
--- a/libavdevice/decklink_common.h
+++ b/libavdevice/decklink_common.h
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVDEVICE_DECKLINK_COMMON_H
+#define AVDEVICE_DECKLINK_COMMON_H
+
#include <DeckLinkAPIVersion.h>
#include "decklink_common_c.h"
@@ -103,3 +106,4 @@ int ff_decklink_set_format(AVFormatContext *avctx, decklink_direction_t directio
int ff_decklink_list_devices(AVFormatContext *avctx);
int ff_decklink_list_formats(AVFormatContext *avctx, decklink_direction_t direction = DIRECTION_OUT);
+#endif /* AVDEVICE_DECKLINK_COMMON_H *
diff --git a/libavdevice/decklink_common_c.h b/libavdevice/decklink_common_c.h
index 2b1a579a3a..ce1dff7d5d 100644
--- a/libavdevice/decklink_common_c.h
+++ b/libavdevice/decklink_common_c.h
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVDEVICE_DECKLINK_COMMON_C_H
+#define AVDEVICE_DECKLINK_COMMON_C_H
+
struct decklink_cctx {
const AVClass *cclass;
@@ -32,3 +35,4 @@ struct decklink_cctx {
int v210;
};
+#endif /* AVDEVICE_DECKLINK_COMMON_C_H */
diff --git a/libavdevice/decklink_dec.h b/libavdevice/decklink_dec.h
index 6bd9226cd0..c02344efc3 100644
--- a/libavdevice/decklink_dec.h
+++ b/libavdevice/decklink_dec.h
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVDEVICE_DECKLINK_DEC_H
+#define AVDEVICE_DECKLINK_DEC_H
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -30,3 +33,5 @@ int ff_decklink_read_close(AVFormatContext *avctx);
#ifdef __cplusplus
} /* extern "C" */
#endif
+
+#endif /* AVDEVICE_DECKLINK_DEC_H */
diff --git a/libavdevice/decklink_enc.h b/libavdevice/decklink_enc.h
index 6086947e6c..5ffc05cd68 100644
--- a/libavdevice/decklink_enc.h
+++ b/libavdevice/decklink_enc.h
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVDEVICE_DECKLINK_ENC_H
+#define AVDEVICE_DECKLINK_ENC_H
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -30,3 +33,5 @@ int ff_decklink_write_trailer(AVFormatContext *avctx);
#ifdef __cplusplus
} /* extern "C" */
#endif
+
+#endif /* AVDEVICE_DECKLINK_ENC_H */