X-Git-Url: http://git.videolan.org/?p=ffmpeg.git;a=blobdiff_plain;f=libavformat%2Frtpdec_xiph.c;h=2049e4f3d3bcdbf2ee6cc6e48fca98a3c14db16b;hp=8bfe65d44a796d35b9c434e66cecc7e38a9834f2;hb=7abd35a1ffaecfd79fa07b801621ee11ab595c43;hpb=2cca96e670e78bb19eb0232469d5a27245e18c02 diff --git a/libavformat/rtpdec_xiph.c b/libavformat/rtpdec_xiph.c index 8bfe65d44a..2049e4f3d3 100644 --- a/libavformat/rtpdec_xiph.c +++ b/libavformat/rtpdec_xiph.c @@ -27,6 +27,7 @@ * @author Josh Allmann */ +#include "libavutil/attributes.h" #include "libavutil/avstring.h" #include "libavutil/base64.h" #include "libavcodec/bytestream.h" @@ -70,8 +71,8 @@ static void xiph_free_context(PayloadContext * data) av_free(data); } -static int xiph_vorbis_init(AVFormatContext *ctx, int st_index, - PayloadContext *data) +static av_cold int xiph_vorbis_init(AVFormatContext *ctx, int st_index, + PayloadContext *data) { if (st_index < 0) return 0;