From 7abd35a1ffaecfd79fa07b801621ee11ab595c43 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 18 Apr 2013 15:54:26 +0200 Subject: avformat: Add av_cold attributes to init functions missing them --- libavformat/rtpdec_h263_rfc2190.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavformat/rtpdec_h263_rfc2190.c') diff --git a/libavformat/rtpdec_h263_rfc2190.c b/libavformat/rtpdec_h263_rfc2190.c index 4b6e996770..116db75065 100644 --- a/libavformat/rtpdec_h263_rfc2190.c +++ b/libavformat/rtpdec_h263_rfc2190.c @@ -27,6 +27,7 @@ #include "avformat.h" #include "rtpdec_formats.h" +#include "libavutil/attributes.h" #include "libavutil/intreadwrite.h" #include "libavcodec/get_bits.h" @@ -55,7 +56,7 @@ static void h263_free_context(PayloadContext *data) av_free(data); } -static int h263_init(AVFormatContext *ctx, int st_index, PayloadContext *data) +static av_cold int h263_init(AVFormatContext *ctx, int st_index, PayloadContext *data) { if (st_index < 0) return 0; -- cgit v1.2.3