summaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegaudiodec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-01 10:31:59 +0100
committerDiego Biurrun <diego@biurrun.de>2013-05-04 21:09:45 +0200
commit6fee1b90ce3bf4fbdfde7016e0890057c9000487 (patch)
treec1b37ab53c8caab6b47702ec4451038c5d2882e4 /libavcodec/mpegaudiodec.c
parent72e228b274a98af1aba9588415d0cd87fde44663 (diff)
downloadffmpeg-streaming-6fee1b90ce3bf4fbdfde7016e0890057c9000487.zip
ffmpeg-streaming-6fee1b90ce3bf4fbdfde7016e0890057c9000487.tar.gz
avcodec: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r--libavcodec/mpegaudiodec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index fa6ac04..c18f433 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -24,6 +24,7 @@
* MPEG Audio decoder
*/
+#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "libavutil/float_dsp.h"
@@ -1820,7 +1821,7 @@ static av_cold int decode_close_mp3on4(AVCodecContext * avctx)
}
-static int decode_init_mp3on4(AVCodecContext * avctx)
+static av_cold int decode_init_mp3on4(AVCodecContext * avctx)
{
MP3On4DecodeContext *s = avctx->priv_data;
MPEG4AudioConfig cfg;
OpenPOWER on IntegriCloud