aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vc1_parser.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-01 10:31:59 +0100
committerDiego Biurrun <diego@biurrun.de>2013-05-04 21:09:45 +0200
commit6fee1b90ce3bf4fbdfde7016e0890057c9000487 (patch)
treec1b37ab53c8caab6b47702ec4451038c5d2882e4 /libavcodec/vc1_parser.c
parent72e228b274a98af1aba9588415d0cd87fde44663 (diff)
downloadffmpeg-6fee1b90ce3bf4fbdfde7016e0890057c9000487.tar.gz
avcodec: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavcodec/vc1_parser.c')
-rw-r--r--libavcodec/vc1_parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/vc1_parser.c b/libavcodec/vc1_parser.c
index a6363d9a90..1bedd986b4 100644
--- a/libavcodec/vc1_parser.c
+++ b/libavcodec/vc1_parser.c
@@ -25,6 +25,7 @@
* VC-1 and WMV3 parser
*/
+#include "libavutil/attributes.h"
#include "parser.h"
#include "vc1.h"
#include "get_bits.h"
@@ -189,7 +190,7 @@ static int vc1_split(AVCodecContext *avctx,
return 0;
}
-static int vc1_parse_init(AVCodecParserContext *s)
+static av_cold int vc1_parse_init(AVCodecParserContext *s)
{
VC1ParseContext *vpc = s->priv_data;
vpc->v.s.slice_context_count = 1;