sink_buffer: dont return void from void functions.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3b196bb737
commit
d35c27db63
@ -193,7 +193,7 @@ static av_cold void vsink_uninit(AVFilterContext *ctx)
|
|||||||
{
|
{
|
||||||
BufferSinkContext *buf = ctx->priv;
|
BufferSinkContext *buf = ctx->priv;
|
||||||
av_freep(&buf->pixel_fmts);
|
av_freep(&buf->pixel_fmts);
|
||||||
return common_uninit(ctx);
|
common_uninit(ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int vsink_query_formats(AVFilterContext *ctx)
|
static int vsink_query_formats(AVFilterContext *ctx)
|
||||||
@ -263,7 +263,7 @@ static av_cold void asink_uninit(AVFilterContext *ctx)
|
|||||||
|
|
||||||
av_freep(&buf->sample_fmts);
|
av_freep(&buf->sample_fmts);
|
||||||
av_freep(&buf->channel_layouts);
|
av_freep(&buf->channel_layouts);
|
||||||
return common_uninit(ctx);
|
common_uninit(ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int asink_query_formats(AVFilterContext *ctx)
|
static int asink_query_formats(AVFilterContext *ctx)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user