aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/adpcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/adpcm.c')
-rw-r--r--libavcodec/adpcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index 415ec99b3d..76f50b9739 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -149,7 +149,7 @@ typedef struct ADPCMContext {
/* XXX: implement encoding */
#if CONFIG_ENCODERS
-static int adpcm_encode_init(AVCodecContext *avctx)
+static av_cold int adpcm_encode_init(AVCodecContext *avctx)
{
if (avctx->channels > 2)
return -1; /* only stereo or mono =) */
@@ -199,7 +199,7 @@ static int adpcm_encode_init(AVCodecContext *avctx)
return 0;
}
-static int adpcm_encode_close(AVCodecContext *avctx)
+static av_cold int adpcm_encode_close(AVCodecContext *avctx)
{
av_freep(&avctx->coded_frame);