]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/buffersrc.h
mips: add assembler flags for mips32r2 ISA and mhard-float
[ffmpeg] / libavfilter / buffersrc.h
index cd6492e5cb21b5167fa1fa5d48ed0214a30c58f0..a23e48f677131ab03ad75378853fbdec9e0dbfe4 100644 (file)
@@ -25,6 +25,7 @@
  * Memory buffer source API.
  */
 
+#include "libavcodec/avcodec.h"
 #include "avfilter.h"
 
 enum {
@@ -62,14 +63,18 @@ int av_buffersrc_add_ref(AVFilterContext *buffer_src,
  */
 unsigned av_buffersrc_get_nb_failed_requests(AVFilterContext *buffer_src);
 
+#ifdef FF_API_BUFFERSRC_BUFFER
 /**
  * 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.
+ * @deprecated Use av_buffersrc_add_ref(s, picref, AV_BUFFERSRC_FLAG_NO_COPY) instead.
  */
+attribute_deprecated
 int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf);
+#endif
 
 /**
  * Add a frame to the buffer source.