X-Git-Url: http://git.videolan.org/?p=ffmpeg.git;a=blobdiff_plain;f=libavformat%2Frtpdec_mpeg4.c;h=bec5c7d55c5a750fb400556a8f1e4b4ad6aae6c1;hp=c2cedcc2103388055aae7532f4b344f0c4e98cc4;hb=7abd35a1ffaecfd79fa07b801621ee11ab595c43;hpb=2cca96e670e78bb19eb0232469d5a27245e18c02 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;