diff options
author | Diego Biurrun | 2013-04-18 15:54:26 +0200 |
---|---|---|
committer | Diego Biurrun | 2013-05-05 18:33:04 +0200 |
commit | 7abd35a1ffaecfd79fa07b801621ee11ab595c43 (patch) | |
tree | 286dffd71af640c0517c6151ea5c063d19801122 /libavformat/mpegenc.c | |
parent | 2cca96e670e78bb19eb0232469d5a27245e18c02 (diff) |
avformat: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavformat/mpegenc.c')
-rw-r--r-- | libavformat/mpegenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c index 4f7bde848c..85a12d69d8 100644 --- a/libavformat/mpegenc.c +++ b/libavformat/mpegenc.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/fifo.h" #include "libavutil/log.h" #include "libavutil/mathematics.h" @@ -292,7 +293,7 @@ static int get_system_header_size(AVFormatContext *ctx) return buf_index; } -static int mpeg_mux_init(AVFormatContext *ctx) +static av_cold int mpeg_mux_init(AVFormatContext *ctx) { MpegMuxContext *s = ctx->priv_data; int bitrate, i, mpa_id, mpv_id, mps_id, ac3_id, dts_id, lpcm_id, j; |