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.
Unified · Split
| @@ -53,13 +53,4 @@ enum { · 52 unmodified lines | |||
| 53 | int av_buffersrc_add_ref(AVFilterContext *buffer_src, | 53 | int av_buffersrc_add_ref(AVFilterContext *buffer_src, |
| 54 | AVFilterBufferRef *picref, int flags); | 54 | AVFilterBufferRef *picref, int flags); |
| 55 | 55 | ||
| 56 | /** | ||
| 57 | * Add a buffer to the filtergraph s. | ||
| 58 | * | ||
| 59 | * @param buf buffer containing frame data to be passed down the filtergraph. | ||
| 60 | * This function will take ownership of buf, the user must not free it. | ||
| 61 | * A NULL buf signals EOF -- i.e. no more frames will be sent to this filter. | ||
| 62 | */ | ||
| 63 | int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf); | ||
| 64 | |||
| 65 | #endif /* AVFILTER_BUFFERSRC_H */ | 56 | #endif /* AVFILTER_BUFFERSRC_H */ |
| @@ -294,12 +294,6 @@ int av_vsrc_buffer_add_video_buffer_ref(AVFilterContext *buffer_filter, · 293 unmodified lines | |||
| 294 | return av_buffersrc_add_ref(buffer_filter, picref, 0); | 294 | return av_buffersrc_add_ref(buffer_filter, picref, 0); |
| 295 | } | 295 | } |
| 296 | 296 | ||
| 297 | int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf) | ||
| 298 | { | ||
| 299 | return av_buffersrc_add_ref(s, buf, AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT | | ||
| 300 | AV_BUFFERSRC_FLAG_NO_COPY); | ||
| 301 | } | ||
| 302 | |||
| 303 | #if CONFIG_AVCODEC | 297 | #if CONFIG_AVCODEC |
| 304 | #include "avcodec.h" | 298 | #include "avcodec.h" |
| 305 | 299 | ||