[FFmpeg-cvslog] avfilter/audio, video: Remove references to avfilter_unref_buffer()
Andreas Rheinhardt
git at videolan.org
Mon Sep 27 08:18:55 EEST 2021
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Sep 22 07:03:55 2021 +0200| [f7d59ca364c38860089b56826df47db032a80822] | committer: Andreas Rheinhardt
avfilter/audio, video: Remove references to avfilter_unref_buffer()
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f7d59ca364c38860089b56826df47db032a80822
---
libavfilter/audio.h | 3 +--
libavfilter/video.h | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/libavfilter/audio.h b/libavfilter/audio.h
index 6bbe6ee9ef..90709a0ad0 100644
--- a/libavfilter/audio.h
+++ b/libavfilter/audio.h
@@ -37,8 +37,7 @@ AVFrame *ff_null_get_audio_buffer(AVFilterLink *link, int nb_samples);
* @param link the output link to the filter from which the buffer will
* be requested
* @param nb_samples the number of samples per channel
- * @return A reference to the samples. This must be unreferenced with
- * avfilter_unref_buffer when you are finished with it.
+ * @return on success an AVFrame owned by the caller, NULL on error
*/
AVFrame *ff_get_audio_buffer(AVFilterLink *link, int nb_samples);
diff --git a/libavfilter/video.h b/libavfilter/video.h
index 56c58d6766..f448e4ada4 100644
--- a/libavfilter/video.h
+++ b/libavfilter/video.h
@@ -33,8 +33,7 @@ AVFrame *ff_null_get_video_buffer(AVFilterLink *link, int w, int h);
* be requested
* @param w the minimum width of the buffer to allocate
* @param h the minimum height of the buffer to allocate
- * @return A reference to the buffer. This must be unreferenced with
- * avfilter_unref_buffer when you are finished with it.
+ * @return on success, an AVFrame owned by the caller, NULL on error
*/
AVFrame *ff_get_video_buffer(AVFilterLink *link, int w, int h);
More information about the ffmpeg-cvslog
mailing list