diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-02-01 10:31:59 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-05-04 21:09:45 +0200 |
commit | 6fee1b90ce3bf4fbdfde7016e0890057c9000487 (patch) | |
tree | c1b37ab53c8caab6b47702ec4451038c5d2882e4 /libavcodec/dvdsubdec.c | |
parent | 72e228b274a98af1aba9588415d0cd87fde44663 (diff) | |
download | ffmpeg-6fee1b90ce3bf4fbdfde7016e0890057c9000487.tar.gz |
avcodec: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavcodec/dvdsubdec.c')
-rw-r--r-- | libavcodec/dvdsubdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c index cf4524ef92..970da86895 100644 --- a/libavcodec/dvdsubdec.c +++ b/libavcodec/dvdsubdec.c @@ -21,6 +21,7 @@ #include "avcodec.h" #include "get_bits.h" #include "dsputil.h" +#include "libavutil/attributes.h" #include "libavutil/colorspace.h" #include "libavutil/imgutils.h" #include "libavutil/avstring.h" @@ -501,7 +502,7 @@ static int dvdsub_decode(AVCodecContext *avctx, return buf_size; } -static int dvdsub_init(AVCodecContext *avctx) +static av_cold int dvdsub_init(AVCodecContext *avctx) { DVDSubContext *ctx = avctx->priv_data; char *data, *cur; |