aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-02-12 14:49:13 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-02-12 14:49:29 +0100
commit1bc3f1b73dfff1a23b9bad1d4fef32dcced47f64 (patch)
tree5b2e1e2d120cc2f875519e2691b44716cfbc5ec9 /libavfilter
parent74744790a366ed53cfafa2b0720c27b1eaef770a (diff)
parent4a7d3837b4dd17fff270b55166597c093204e542 (diff)
downloadffmpeg-1bc3f1b73dfff1a23b9bad1d4fef32dcced47f64.tar.gz
Merge commit '4a7d3837b4dd17fff270b55166597c093204e542'
* commit '4a7d3837b4dd17fff270b55166597c093204e542': buffersrc: Have function parameter names match between .c and .h file Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/buffersrc.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/libavfilter/buffersrc.h b/libavfilter/buffersrc.h
index 89613e10cd..be5d3a6384 100644
--- a/libavfilter/buffersrc.h
+++ b/libavfilter/buffersrc.h
@@ -79,8 +79,9 @@ unsigned av_buffersrc_get_nb_failed_requests(AVFilterContext *buffer_src);
#if FF_API_AVFILTERBUFFER
/**
- * Add a buffer to the filtergraph s.
+ * Add a buffer to a filtergraph.
*
+ * @param ctx an instance of the buffersrc filter
* @param buf buffer containing frame data to be passed down the filtergraph.
* This function will take ownership of buf, the user must not free it.
* A NULL buf signals EOF -- i.e. no more frames will be sent to this filter.
@@ -88,13 +89,13 @@ unsigned av_buffersrc_get_nb_failed_requests(AVFilterContext *buffer_src);
* @deprecated use av_buffersrc_write_frame() or av_buffersrc_add_frame()
*/
attribute_deprecated
-int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf);
+int av_buffersrc_buffer(AVFilterContext *ctx, AVFilterBufferRef *buf);
#endif
/**
* Add a frame to the buffer source.
*
- * @param s an instance of the buffersrc filter.
+ * @param ctx an instance of the buffersrc filter
* @param frame frame to be added. If the frame is reference counted, this
* function will make a new reference to it. Otherwise the frame data will be
* copied.
@@ -104,12 +105,12 @@ int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf);
* This function is equivalent to av_buffersrc_add_frame_flags() with the
* AV_BUFFERSRC_FLAG_KEEP_REF flag.
*/
-int av_buffersrc_write_frame(AVFilterContext *s, const AVFrame *frame);
+int av_buffersrc_write_frame(AVFilterContext *ctx, const AVFrame *frame);
/**
* Add a frame to the buffer source.
*
- * @param s an instance of the buffersrc filter.
+ * @param ctx an instance of the buffersrc filter
* @param frame frame to be added. If the frame is reference counted, this
* function will take ownership of the reference(s) and reset the frame.
* Otherwise the frame data will be copied. If this function returns an error,