summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;