mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
make the ordering of the return type and av_cold consistent
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
35623d833e
commit
a1f234be11
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user