Skip to content

Commit

Permalink
Fix of OpenTVChannelListDescriptor ChannelID
Browse files Browse the repository at this point in the history
Correction of offset to 2nd byte of the ChannelID value
of the OpenTVChannelListDescriptor.

Refs #13547
  • Loading branch information
kmdewaal committed Jan 10, 2020
1 parent efbc436 commit aeafd81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/mpeg/dvbdescriptors.h
Expand Up @@ -2348,7 +2348,7 @@ class OpenTVChannelListDescriptor : public MPEGDescriptor
{ return m_data[4 + 2 + (i*9)]; }

uint ChannelID(uint i) const
{ return ((m_data[4 + 3 + (i*9)] << 8) | m_data[4 + 5 + (i*9)]); }
{ return ((m_data[4 + 3 + (i*9)] << 8) | m_data[4 + 4 + (i*9)]); }

uint ChannelNumber(uint i) const
{ return ((m_data[4 + 5 + (i*9)] << 8) | m_data[4 + 6 + (i*9)]); }
Expand Down

0 comments on commit aeafd81

Please sign in to comment.