Commit fce075b3 authored by vaclav's avatar vaclav
Browse files

attempt to fix error: "MemorySanitizer: use-of-uninitialized-value"

parent ea30c7e2
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5312,6 +5312,9 @@ static void copyMasaMetadataToDiracRenderer(
    int16_t meta_write_index;
#endif

#ifdef MASA_AND_OBJECTS
    hDirAC->numParametricDirections = meta->descriptive_meta.numberOfDirections;
#endif
    hDirAC->numSimultaneousDirections = meta->descriptive_meta.numberOfDirections + 1;

    for ( sf = 0; sf < MAX_PARAM_SPATIAL_SUBFRAMES; sf++ )