History

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.

Nicolas George committed 14 years ago

Commit 317b2b71 parent 8ad19642 files · +0 −15Browse files

Unified · Split

2 files
  1. libavfilter/buffersrc.h +0 −9
  2. libavfilter/src_buffer.c +0 −6
libavfilter/buffersrc.h+0−9
@@ -53,13 +53,4 @@ enum { · 52 unmodified lines
53int av_buffersrc_add_ref(AVFilterContext *buffer_src,53int 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 */
63int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf);
64
65#endif /* AVFILTER_BUFFERSRC_H */56#endif /* AVFILTER_BUFFERSRC_H */
libavfilter/src_buffer.c+0−6
@@ -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
297int 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_AVCODEC297#if CONFIG_AVCODEC
304#include "avcodec.h"298#include "avcodec.h"
305 299

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t