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/flac_parser.c | |
parent | 72e228b274a98af1aba9588415d0cd87fde44663 (diff) | |
download | ffmpeg-6fee1b90ce3bf4fbdfde7016e0890057c9000487.tar.gz |
avcodec: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavcodec/flac_parser.c')
-rw-r--r-- | libavcodec/flac_parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/flac_parser.c b/libavcodec/flac_parser.c index 155162ad80..bf2c11821b 100644 --- a/libavcodec/flac_parser.c +++ b/libavcodec/flac_parser.c @@ -32,6 +32,7 @@ * The parser returns the frame with the highest score. **/ +#include "libavutil/attributes.h" #include "libavutil/crc.h" #include "libavutil/fifo.h" #include "bytestream.h" @@ -653,7 +654,7 @@ handle_error: return read_end - buf; } -static int flac_parse_init(AVCodecParserContext *c) +static av_cold int flac_parse_init(AVCodecParserContext *c) { FLACParseContext *fpc = c->priv_data; fpc->pc = c; |