Mercurial > libavcodec.hg
comparison bmpenc.c @ 6517:48759bfbd073 libavcodec
Apply 'cold' attribute to init/uninit functions in libavcodec
author | zuxy |
---|---|
date | Fri, 21 Mar 2008 03:11:20 +0000 |
parents | 87e943798698 |
children | 6eeb19edcee3 |
comparison
equal
deleted
inserted
replaced
6516:dbb902bb2347 | 6517:48759bfbd073 |
---|---|
21 | 21 |
22 #include "avcodec.h" | 22 #include "avcodec.h" |
23 #include "bytestream.h" | 23 #include "bytestream.h" |
24 #include "bmp.h" | 24 #include "bmp.h" |
25 | 25 |
26 static int bmp_encode_init(AVCodecContext *avctx){ | 26 static av_cold int bmp_encode_init(AVCodecContext *avctx){ |
27 BMPContext *s = avctx->priv_data; | 27 BMPContext *s = avctx->priv_data; |
28 | 28 |
29 avcodec_get_frame_defaults((AVFrame*)&s->picture); | 29 avcodec_get_frame_defaults((AVFrame*)&s->picture); |
30 avctx->coded_frame = (AVFrame*)&s->picture; | 30 avctx->coded_frame = (AVFrame*)&s->picture; |
31 | 31 |