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_g726.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavformat/rtpdec_g726.c') diff --git a/libavformat/rtpdec_g726.c b/libavformat/rtpdec_g726.c index adb4ab34cc..7b3f6cbb89 100644 --- a/libavformat/rtpdec_g726.c +++ b/libavformat/rtpdec_g726.c @@ -18,11 +18,13 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "avformat.h" #include "rtpdec_formats.h" #define RTP_G726_HANDLER(bitrate) \ -static int g726_ ## bitrate ##_init(AVFormatContext *s, int st_index, PayloadContext *data) \ +static av_cold int g726_ ## bitrate ##_init(AVFormatContext *s, int st_index, \ + PayloadContext *data) \ { \ AVStream *stream = s->streams[st_index]; \ AVCodecContext *codec = stream->codec; \ -- cgit v1.2.3