mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avfilter/audio, video: Remove references to avfilter_unref_buffer()
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
3042e71776
commit
f7d59ca364
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user