return get_frame_internal(ctx, frame, 0, nb_samples);
}
+#if FF_API_NEXT
AVBufferSinkParams *av_buffersink_params_alloc(void)
{
static const int pixel_fmts[] = { AV_PIX_FMT_NONE };
return NULL;
return params;
}
+#endif
static av_cold int common_init(AVFilterContext *ctx)
{
*/
#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.