Skip to content
  • Tim-Philipp Müller's avatar
    flacenc: never ever pass values >36bits to _set_total_samples_estimate() · 53be1d33
    Tim-Philipp Müller authored
    Let's be paranoid and make sure we never pass a number that takes up
    more than 36 bits to _set_total_samples_estimate(), since libFLAC
    expects all the other bits to be zero, and if this is not the case
    neighbouring fields in the global stream info header may get messed
    up inadvertently, so that flac -d refuses to decode the stream.
    See #584455.
    53be1d33