[FFmpeg-devel] [PATCH] vsrc_buffer.h: add multiple inclusion guards

Stefano Sabatini stefano.sabatini-lala at poste.it
Sun Apr 3 17:56:26 CEST 2011


Signed-off-by: Stefano Sabatini <stefano.sabatini-lala at poste.it>
---
 libavfilter/vsrc_buffer.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/libavfilter/vsrc_buffer.h b/libavfilter/vsrc_buffer.h
index db5d23e..e1b7870 100644
--- a/libavfilter/vsrc_buffer.h
+++ b/libavfilter/vsrc_buffer.h
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVFILTER_VSRC_BUFFER_H
+#define AVFILTER_VSRC_BUFFER_H
+
 /**
  * @file
  * memory buffer source API for video
@@ -44,3 +47,5 @@ int av_vsrc_buffer_add_frame(AVFilterContext *bufsrc,
                              uint8_t *data[4], int linesize[4],
                              int interlaced, int top_field_first,
                              int64_t pts, AVRational sample_aspect);
+
+#endif /* AVFILTER_VSRC_BUFFER_H */
-- 
1.7.2.3



More information about the ffmpeg-devel mailing list