mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-15 11:30:08 +01:00
sink_buffer: dont return void from void functions.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user