OcaToolsAndDemos icon indicating copy to clipboard operation
OcaToolsAndDemos copied to clipboard

Flawed logic and spelling mistakes

Open GeorgeKT opened this issue 2 years ago • 0 comments

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.

GeorgeKT avatar Jun 05 '23 13:06 GeorgeKT