Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-01 13:31:59 +0400
committerDiego Biurrun <diego@biurrun.de>2013-05-04 23:09:45 +0400
commit6fee1b90ce3bf4fbdfde7016e0890057c9000487 (patch)
treec1b37ab53c8caab6b47702ec4451038c5d2882e4 /libavcodec/h264_parser.c
parent72e228b274a98af1aba9588415d0cd87fde44663 (diff)
avcodec: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavcodec/h264_parser.c')
-rw-r--r--libavcodec/h264_parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c
index aa930d9e82..e5d2c03f8a 100644
--- a/libavcodec/h264_parser.c
+++ b/libavcodec/h264_parser.c
@@ -25,6 +25,7 @@
* @author Michael Niedermayer <michaelni@gmx.at>
*/
+#include "libavutil/attributes.h"
#include "parser.h"
#include "h264data.h"
#include "golomb.h"
@@ -333,7 +334,7 @@ static void close(AVCodecParserContext *s)
ff_h264_free_context(h);
}
-static int init(AVCodecParserContext *s)
+static av_cold int init(AVCodecParserContext *s)
{
H264Context *h = s->priv_data;
h->thread_context[0] = h;