diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-04-18 15:54:26 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-05-05 18:33:04 +0200 |
commit | 7abd35a1ffaecfd79fa07b801621ee11ab595c43 (patch) | |
tree | 286dffd71af640c0517c6151ea5c063d19801122 /libavformat/rtpdec_mpeg4.c | |
parent | 2cca96e670e78bb19eb0232469d5a27245e18c02 (diff) | |
download | ffmpeg-7abd35a1ffaecfd79fa07b801621ee11ab595c43.tar.gz |
avformat: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavformat/rtpdec_mpeg4.c')
-rw-r--r-- | libavformat/rtpdec_mpeg4.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/rtpdec_mpeg4.c b/libavformat/rtpdec_mpeg4.c index c2cedcc210..bec5c7d55c 100644 --- a/libavformat/rtpdec_mpeg4.c +++ b/libavformat/rtpdec_mpeg4.c @@ -29,6 +29,7 @@ #include "rtpdec_formats.h" #include "internal.h" +#include "libavutil/attributes.h" #include "libavutil/avstring.h" #include "libavcodec/get_bits.h" @@ -252,7 +253,8 @@ static int parse_sdp_line(AVFormatContext *s, int st_index, return 0; } -static int init_video(AVFormatContext *s, int st_index, PayloadContext *data) +static av_cold int init_video(AVFormatContext *s, int st_index, + PayloadContext *data) { if (st_index < 0) return 0; |