Commit 1b28a1f1 authored by vaclav's avatar vaclav
Browse files

issue 902: remove a hack in ivas_core_dec(); under FIX_902_HACK_IN_CORECODER

parent 332bc972
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -151,6 +151,7 @@
/*#define SPLIT_REND_WITH_HEAD_ROT  */                  /* Dlb,FhG: Split Rendering contributions 21 and 35 */

#define FIX_643_PCA_OPTION                              /* VA: issue 643: rename PCA bypass command-line option */
#define FIX_902_HACK_IN_CORECODER                       /* VA: issue 902: remove a hack in ivas_core_dec() */

/* #################### End BE switches ################################## */

+4 −0
Original line number Diff line number Diff line
@@ -112,7 +112,11 @@ ivas_error ivas_core_dec(
        sts = hSCE->hCoreCoder;
        hStereoICBWE = NULL;
        element_brate = hSCE->element_brate;
#ifdef FIX_902_HACK_IN_CORECODER
        last_element_brate = hSCE->last_element_brate;
#else
        last_element_brate = hSCE->element_brate; /*  hack - the past parameter is not really needed */
#endif
        last_element_mode = IVAS_SCE;
        hStereoTD = NULL;
        p_output_mem = NULL;