OCAAlliance / OcaToolsAndDemos

Source code repository of OCAMicro and AES70 Compliancy Test Tool
Other
40 stars 22 forks source link

Flawed logic and spelling mistakes #29

Open GeorgeKT opened 1 year ago

GeorgeKT commented 1 year ago

Turned on -Werror for compiling OCAMicro and discovered this problem in OcaLiteMediaSinkConnector.h:

/**
  * Set the alignment gain
  *
  * @param[in] alginmentGain     The alignment gain.
  */
  void SetAlginmentGain(::OcaDB alignmentGain)
  {
        alignmentGain = m_alignmentGain;
  }

It should obviously be m_alignmentGain = alignmentGain There is also a typo in the function name.