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/mpegenc.c
parent2cca96e670e78bb19eb0232469d5a27245e18c02 (diff)
avformat: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavformat/mpegenc.c')
-rw-r--r--libavformat/mpegenc.c3
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;