summaryrefslogtreecommitdiff
path: root/libavcodec/cook.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/cook.c')
-rw-r--r--libavcodec/cook.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index cbf1c9c621..3a16c77797 100644
--- a/libavcodec/cook.c
+++ b/libavcodec/cook.c
@@ -1178,6 +1178,8 @@ static int cook_decode_init(AVCodecContext *avctx)
return -1;
}
+ avctx->sample_fmt = SAMPLE_FMT_S16;
+
#ifdef COOKDEBUG
dump_cook_context(q);
#endif