aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpdec_g726.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-04-18 15:54:26 +0200
committerDiego Biurrun <diego@biurrun.de>2013-05-05 18:33:04 +0200
commit7abd35a1ffaecfd79fa07b801621ee11ab595c43 (patch)
tree286dffd71af640c0517c6151ea5c063d19801122 /libavformat/rtpdec_g726.c
parent2cca96e670e78bb19eb0232469d5a27245e18c02 (diff)
downloadffmpeg-7abd35a1ffaecfd79fa07b801621ee11ab595c43.tar.gz
avformat: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavformat/rtpdec_g726.c')
-rw-r--r--libavformat/rtpdec_g726.c4
1 files changed, 3 insertions, 1 deletions
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; \