Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-04-18 17:54:26 +0400
committerDiego Biurrun <diego@biurrun.de>2013-05-05 20:33:04 +0400
commit7abd35a1ffaecfd79fa07b801621ee11ab595c43 (patch)
tree286dffd71af640c0517c6151ea5c063d19801122 /libavformat/rtpdec_mpegts.c
parent2cca96e670e78bb19eb0232469d5a27245e18c02 (diff)
avformat: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavformat/rtpdec_mpegts.c')
-rw-r--r--libavformat/rtpdec_mpegts.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/rtpdec_mpegts.c b/libavformat/rtpdec_mpegts.c
index e2c8977f7d..b3ef261336 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)