diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-06 12:19:56 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-06 12:19:56 +0400 |
commit | 5c2ccf83df3bfea03c843910c41ee99bd4d64129 (patch) | |
tree | b65afff2fa2bbdb0223295c5f0d54ca7107e0e13 /libavformat/rtpdec_mpegts.c | |
parent | f5846dc98cee1fd2530565a9a87c602714eb597b (diff) | |
parent | 7abd35a1ffaecfd79fa07b801621ee11ab595c43 (diff) |
Merge commit '7abd35a1ffaecfd79fa07b801621ee11ab595c43'
* commit '7abd35a1ffaecfd79fa07b801621ee11ab595c43':
avformat: Add av_cold attributes to init functions missing them
Conflicts:
libavformat/rtpdec_xiph.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtpdec_mpegts.c')
-rw-r--r-- | libavformat/rtpdec_mpegts.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/rtpdec_mpegts.c b/libavformat/rtpdec_mpegts.c index cbb8eb49f7..5b851c4fd7 100644 --- a/libavformat/rtpdec_mpegts.c +++ b/libavformat/rtpdec_mpegts.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "mpegts.h" #include "rtpdec_formats.h" @@ -43,7 +44,8 @@ static void mpegts_free_context(PayloadContext *data) av_free(data); } -static int mpegts_init(AVFormatContext *ctx, int st_index, PayloadContext *data) +static av_cold int mpegts_init(AVFormatContext *ctx, int st_index, + PayloadContext *data) { data->ts = ff_mpegts_parse_open(ctx); if (!data->ts) |