shaka-project / shaka-packager

A media packaging and development framework for VOD and Live DASH and HLS applications, supporting Common Encryption for Widevine and other DRM Systems.
https://shaka-project.github.io/shaka-packager/
Other
2.01k stars 511 forks source link

chore: Fix "potentially uninitialized variable" errors in IAMF #1445

Closed joeyparrish closed 1 month ago

joeyparrish commented 1 month ago

These errors were specifically coming up in Windows builds and in Linux release builds. This initializes those variables.

This also fixes errors in IAMF tests like "offset 2 out of bounds", which some compilers raise when you try to statically initialize a vector, then add to it later.