From 595eec002c2e8f001292842df1550c8f943e967a Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 16 Jun 2016 13:39:39 +0200 Subject: cfhd: Add a few more default codec parameter values, as per spec --- libavcodec/cfhd.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.3