summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-06-16 13:39:39 +0200
committerAnton Khirnov <anton@khirnov.net>2016-07-25 13:57:01 +0200
commit595eec002c2e8f001292842df1550c8f943e967a (patch)
tree78154ffa40eee679cd8b3d05a1638623700aa21f
parentf1c6fb9d640276ec17d6f83d735badaa1bf70a0d (diff)
cfhd: Add a few more default codec parameter values, as per spec
-rw-r--r--libavcodec/cfhd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
index 9d84f4b69f..ee67900cb7 100644
--- a/libavcodec/cfhd.c
+++ b/libavcodec/cfhd.c
@@ -65,6 +65,9 @@ static void init_frame_defaults(CFHDContext *s)
s->channel_num = 0;
s->lowpass_precision = 16;
s->quantisation = 1;
+ s->prescale_shift[0] = 0;
+ s->prescale_shift[1] = 0;
+ s->prescale_shift[2] = 0;
s->wavelet_depth = 3;
s->pshift = 1;
s->codebook = 0;