mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi: remove av_buffersrc_buffer.
It is no longer used anywhere. Furthermore, the header it was declared in was not installed, so it can not be considered part of the public API.
This commit is contained in:
parent
8ad1964ec5
commit
317b2b7e92
|
@ -53,13 +53,4 @@ enum {
|
||||||
int av_buffersrc_add_ref(AVFilterContext *buffer_src,
|
int av_buffersrc_add_ref(AVFilterContext *buffer_src,
|
||||||
AVFilterBufferRef *picref, int flags);
|
AVFilterBufferRef *picref, int flags);
|
||||||
|
|
||||||
/**
|
|
||||||
* Add a buffer to the filtergraph s.
|
|
||||||
*
|
|
||||||
* @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.
|
|
||||||
*/
|
|
||||||
int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf);
|
|
||||||
|
|
||||||
#endif /* AVFILTER_BUFFERSRC_H */
|
#endif /* AVFILTER_BUFFERSRC_H */
|
||||||
|
|
|
@ -294,12 +294,6 @@ int av_vsrc_buffer_add_video_buffer_ref(AVFilterContext *buffer_filter,
|
||||||
return av_buffersrc_add_ref(buffer_filter, picref, 0);
|
return av_buffersrc_add_ref(buffer_filter, picref, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf)
|
|
||||||
{
|
|
||||||
return av_buffersrc_add_ref(s, buf, AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT |
|
|
||||||
AV_BUFFERSRC_FLAG_NO_COPY);
|
|
||||||
}
|
|
||||||
|
|
||||||
#if CONFIG_AVCODEC
|
#if CONFIG_AVCODEC
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue