summaryrefslogtreecommitdiff
path: root/libavcodec/dnxhdenc.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/dnxhdenc.c
parent7abd35a1ffaecfd79fa07b801621ee11ab595c43 (diff)
avcodec: Add av_cold attributes to end functions missing them
Diffstat (limited to 'libavcodec/dnxhdenc.c')
-rw-r--r--libavcodec/dnxhdenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c
index 5b59e643d1..920fa456e9 100644
--- a/libavcodec/dnxhdenc.c
+++ b/libavcodec/dnxhdenc.c
@@ -990,7 +990,7 @@ static int dnxhd_encode_picture(AVCodecContext *avctx, AVPacket *pkt,
return 0;
}
-static int dnxhd_encode_end(AVCodecContext *avctx)
+static av_cold int dnxhd_encode_end(AVCodecContext *avctx)
{
DNXHDEncContext *ctx = avctx->priv_data;
int max_level = 1<<(ctx->cid_table->bit_depth+2);