[FFmpeg-cvslog] libwebpenc_common: add header guards

James Almer git at videolan.org
Sat May 23 06:46:07 CEST 2015


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat May 23 01:44:32 2015 -0300| [44ca8a6adbc3157771b9388876c29d260a165ba7] | committer: James Almer

libwebpenc_common: add header guards

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=44ca8a6adbc3157771b9388876c29d260a165ba7
---

 libavcodec/libwebpenc_common.h |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libavcodec/libwebpenc_common.h b/libavcodec/libwebpenc_common.h
index ea2410c..1126fd0 100644
--- a/libavcodec/libwebpenc_common.h
+++ b/libavcodec/libwebpenc_common.h
@@ -24,6 +24,9 @@
  * WebP encoder using libwebp: common structs and methods.
  */
 
+#ifndef AVCODEC_LIBWEBPENC_COMMON_H
+#define AVCODEC_LIBWEBPENC_COMMON_H
+
 #include <webp/encode.h>
 
 #include "libavutil/common.h"
@@ -87,3 +90,5 @@ static const AVCodecDefault libwebp_defaults[] = {
     { "global_quality",     "-1" },
     { NULL },
 };
+
+#endif /* AVCODEC_LIBWEBPENC_COMMON_H */



More information about the ffmpeg-cvslog mailing list