aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg12dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-06 10:27:54 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-06 10:28:27 +0200
commitb50ab3a4c7a1225862dcf0f0bd00ffef6acfdcbb (patch)
tree38f6b0ca525e426f0ed87f8be0177462487e6c76 /libavcodec/mpeg12dec.c
parent5c2ccf83df3bfea03c843910c41ee99bd4d64129 (diff)
parentbd8ac882140a38868c33c000a430a1292a352533 (diff)
downloadffmpeg-b50ab3a4c7a1225862dcf0f0bd00ffef6acfdcbb.tar.gz
Merge commit 'bd8ac882140a38868c33c000a430a1292a352533'
* commit 'bd8ac882140a38868c33c000a430a1292a352533': avcodec: Add av_cold attributes to end functions missing them Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 7d8286e420..78c46fe2d6 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"
@@ -2472,7 +2473,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;