|
|
|
@@ -58,7 +58,8 @@ static int filter_frame(AVFilterLink *link, AVFrame *frame) |
|
|
|
return 0; |
|
|
|
} |
|
|
|
|
|
|
|
int av_buffersink_get_frame(AVFilterContext *ctx, AVFrame *frame) |
|
|
|
int attribute_align_arg av_buffersink_get_frame(AVFilterContext *ctx, |
|
|
|
AVFrame *frame) |
|
|
|
{ |
|
|
|
BufferSinkContext *s = ctx->priv; |
|
|
|
AVFilterLink *link = ctx->inputs[0]; |
|
|
|
@@ -98,7 +99,8 @@ static int read_from_fifo(AVFilterContext *ctx, AVFrame *frame, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
int av_buffersink_get_samples(AVFilterContext *ctx, AVFrame *frame, int nb_samples) |
|
|
|
int attribute_align_arg av_buffersink_get_samples(AVFilterContext *ctx, |
|
|
|
AVFrame *frame, int nb_samples) |
|
|
|
{ |
|
|
|
BufferSinkContext *s = ctx->priv; |
|
|
|
AVFilterLink *link = ctx->inputs[0]; |
|
|
|
@@ -144,7 +146,8 @@ static void compat_free_buffer(AVFilterBuffer *buf) |
|
|
|
av_free(buf); |
|
|
|
} |
|
|
|
|
|
|
|
static int compat_read(AVFilterContext *ctx, AVFilterBufferRef **pbuf, int nb_samples) |
|
|
|
static int attribute_align_arg compat_read(AVFilterContext *ctx, |
|
|
|
AVFilterBufferRef **pbuf, int nb_samples) |
|
|
|
{ |
|
|
|
AVFilterBufferRef *buf; |
|
|
|
AVFrame *frame; |
|
|
|
|