summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12dec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-05-02 10:20:12 +0200
committerDiego Biurrun <diego@biurrun.de>2013-05-05 20:51:28 +0200
commitbd8ac882140a38868c33c000a430a1292a352533 (patch)
tree0009a4c346a005a0c5dcd51f2b1464ffae65fc37 /libavcodec/mpeg12dec.c
parent7abd35a1ffaecfd79fa07b801621ee11ab595c43 (diff)
avcodec: Add av_cold attributes to end functions missing them
Diffstat (limited to 'libavcodec/mpeg12dec.c')
-rw-r--r--libavcodec/mpeg12dec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c
index 3bf20c69cd..16c8523112 100644
--- a/libavcodec/mpeg12dec.c
+++ b/libavcodec/mpeg12dec.c
@@ -26,6 +26,7 @@
*/
//#define DEBUG
+#include "libavutil/attributes.h"
#include "libavutil/internal.h"
#include "internal.h"
#include "avcodec.h"
@@ -2355,7 +2356,7 @@ static void flush(AVCodecContext *avctx)
ff_mpeg_flush(avctx);
}
-static int mpeg_decode_end(AVCodecContext *avctx)
+static av_cold int mpeg_decode_end(AVCodecContext *avctx)
{
Mpeg1Context *s = avctx->priv_data;