make the ordering of the return type and av_cold consistent

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/16/head
Michael Niedermayer 12 years ago
parent 35623d833e
commit a1f234be11
  1. 2
      libavcodec/dvdsubdec.c
  2. 4
      libavcodec/libopusenc.c
  3. 2
      libavfilter/f_sendcmd.c

@ -566,7 +566,7 @@ static int dvdsub_parse_extradata(AVCodecContext *avctx)
return 1; return 1;
} }
static int av_cold dvdsub_init(AVCodecContext *avctx) static av_cold int dvdsub_init(AVCodecContext *avctx)
{ {
DVDSubContext *ctx = avctx->priv_data; DVDSubContext *ctx = avctx->priv_data;
int ret; int ret;

@ -156,7 +156,7 @@ static int libopus_configure_encoder(AVCodecContext *avctx, OpusMSEncoder *enc,
return OPUS_OK; 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; LibopusEncContext *opus = avctx->priv_data;
const uint8_t *channel_mapping; const uint8_t *channel_mapping;
@ -359,7 +359,7 @@ static int libopus_encode(AVCodecContext *avctx, AVPacket *avpkt,
return 0; 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; LibopusEncContext *opus = avctx->priv_data;

@ -422,7 +422,7 @@ static av_cold int init(AVFilterContext *ctx)
return 0; return 0;
} }
static void av_cold uninit(AVFilterContext *ctx) static av_cold void uninit(AVFilterContext *ctx)
{ {
SendCmdContext *sendcmd = ctx->priv; SendCmdContext *sendcmd = ctx->priv;
int i, j; int i, j;

Loading…
Cancel
Save