Commit a1f234be authored by Michael Niedermayer's avatar Michael Niedermayer

make the ordering of the return type and av_cold consistent

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 35623d83
......@@ -566,7 +566,7 @@ static int dvdsub_parse_extradata(AVCodecContext *avctx)
return 1;
}
static int av_cold dvdsub_init(AVCodecContext *avctx)
static av_cold int dvdsub_init(AVCodecContext *avctx)
{
DVDSubContext *ctx = avctx->priv_data;
int ret;
......
......@@ -156,7 +156,7 @@ static int libopus_configure_encoder(AVCodecContext *avctx, OpusMSEncoder *enc,
return OPUS_OK;
}
static int av_cold libopus_encode_init(AVCodecContext *avctx)
static av_cold int libopus_encode_init(AVCodecContext *avctx)
{
LibopusEncContext *opus = avctx->priv_data;
const uint8_t *channel_mapping;
......@@ -359,7 +359,7 @@ static int libopus_encode(AVCodecContext *avctx, AVPacket *avpkt,
return 0;
}
static int av_cold libopus_encode_close(AVCodecContext *avctx)
static av_cold int libopus_encode_close(AVCodecContext *avctx)
{
LibopusEncContext *opus = avctx->priv_data;
......
......@@ -422,7 +422,7 @@ static av_cold int init(AVFilterContext *ctx)
return 0;
}
static void av_cold uninit(AVFilterContext *ctx)
static av_cold void uninit(AVFilterContext *ctx)
{
SendCmdContext *sendcmd = ctx->priv;
int i, j;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment