ittiam-systems / libmpegh

MPEG-H 3D Audio Low Complexity Profile Decoder. Encoder: https://github.com/ittiam-systems/libmpeghe Contact: mob-audio@ittiam.com
http://www.ittiam.com/
BSD 3-Clause Clear License
88 stars 18 forks source link

Allow decoding files with empty multichannel signal groups #96

Open benjamin-weiss opened 2 weeks ago

benjamin-weiss commented 2 weeks ago

During testing customer streams we've discovered several files that could not be decoded. The reason turned out to be Ittiam decoder rejecting MCTConfig without any channels – and those files have two configurations, first one encompassing all channels and the second one having none. Since the second configuration is not used, the files can be decoded if such configuration existence is tolerated.

P.S. In case when such empty configuration is used, the decoder will error out on zero channel count as inadvertently discovered in the earlier reported issue #94.

0001-Allows-empty-multichannel-groups.PATCH