[FFmpeg-devel] [PATCH] lavd: add missing guards and includes to decklink_enc.h

James Almer jamrial at gmail.com
Sun Feb 16 19:46:57 CET 2014


Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavdevice/decklink_enc.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libavdevice/decklink_enc.h b/libavdevice/decklink_enc.h
index 0b9ad8f..72e7d28 100644
--- a/libavdevice/decklink_enc.h
+++ b/libavdevice/decklink_enc.h
@@ -19,6 +19,11 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVDEVICE_DECKLINK_ENC_H
+#define AVDEVICE_DECKLINK_ENC_H
+
+#include "avdevice.h"
+
 struct decklink_cctx {
     const AVClass *cclass;
 
@@ -41,3 +46,5 @@ int ff_decklink_write_trailer(AVFormatContext *avctx);
 #ifdef __cplusplus
 } /* extern "C" */
 #endif
+
+#endif /* AVDEVICE_DECKLINK_ENC_H */
-- 
1.8.3.2



More information about the ffmpeg-devel mailing list