summaryrefslogtreecommitdiff
path: root/libavcodec/mace.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/mace.c')
-rw-r--r--libavcodec/mace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mace.c b/libavcodec/mace.c
index 2e15e91ed3..c789984618 100644
--- a/libavcodec/mace.c
+++ b/libavcodec/mace.c
@@ -396,6 +396,7 @@ static av_cold int mace_decode_init(AVCodecContext * avctx)
{
if (avctx->channels > 2)
return -1;
+ avctx->sample_fmt = SAMPLE_FMT_S16;
return 0;
}