summaryrefslogtreecommitdiff
path: root/libavcodec/sonic.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/sonic.c')
-rw-r--r--libavcodec/sonic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c
index 9d594efd7f..60d36a5891 100644
--- a/libavcodec/sonic.c
+++ b/libavcodec/sonic.c
@@ -828,6 +828,7 @@ static av_cold int sonic_decode_init(AVCodecContext *avctx)
}
s->int_samples = av_mallocz(4* s->frame_size);
+ avctx->sample_fmt = SAMPLE_FMT_S16;
return 0;
}