From f7813a5324be39d13ab536c245d15dfc602a7849 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sun, 29 Dec 2013 12:19:38 +0000 Subject: basic type mechanism working --- ffmpeg/libavformat/rtpdec_g726.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ffmpeg/libavformat/rtpdec_g726.c') diff --git a/ffmpeg/libavformat/rtpdec_g726.c b/ffmpeg/libavformat/rtpdec_g726.c index ec37f09..7e9ef56 100644 --- a/ffmpeg/libavformat/rtpdec_g726.c +++ b/ffmpeg/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