*/
#define AV_BUFFERSINK_FLAG_NO_REQUEST 2
+#if FF_API_NEXT
/**
* Struct to use for initializing a buffersink context.
*/
*
* Must be freed with av_free().
*/
+attribute_deprecated
AVBufferSinkParams *av_buffersink_params_alloc(void);
/**
*
* Must be freed with av_free().
*/
+attribute_deprecated
AVABufferSinkParams *av_abuffersink_params_alloc(void);
+#endif
/**
* Set the frame size for an audio buffer sink.
* the end of stream, when it can contain less than nb_samples.
*
* @return The return codes have the same meaning as for
- * av_buffersink_get_samples().
+ * av_buffersink_get_frame().
*
* @warning do not mix this function with av_buffersink_get_frame(). Use only one or
* the other with a single sink, not both.