message: Prevent an integral division by zero (undefined behavior).
diff: @@ -232,6 +232,11 @@ Status DecodeLin16WaveAsFloatVector(const string& wav_string,
  "Bad audio format for WAV: Expected 1 (PCM), but got", audio_format);
  }
  TF_RETURN_IF_ERROR(ReadValue<uint16>(wav_string, channel_count, &offset));
  + if (*channel_count < 1) {
  + return errors::InvalidArgument(
  + "Bad number of channels for WAV: Expected at least 1, but got ",
  + *channel_count);
  + }
  TF_RETURN_IF_ERROR(ReadValue<uint32>(wav_string, sample_rate, &offset));
  uint32 bytes_per_second;
  TF_RETURN_IF_ERROR(ReadValue<uint32>(wav_string, &bytes_per_second, &offset));
  